Hi John,
to work with log(), you need enable floating support.
there are only two floating point selections in wizard when you creating a new project:
- Float is IEEE32, double is IEEE32
- Float is IEEE32, double is IEEE64

The different selection is with different lib. For example, if we want change project from none floating support to “Float is IEEE32, double is IEEE32”, we need use ansibf.lib rather than ansib.lib.
I list the difference of this two lib files to you for your convenience:
=======================
Mb IEEE32/32 ELF/DWARF ansib.lib -W2 -Os -Mb
Mb IEEE32/64 ELF/DWARF ansibf.lib -W2 -Os -Mb –Cf
==========================
You need enable –Cf in the compiler command line as well.
if use floating library, "-D__NO_FLOAT__" is not allowed in compiler command line. if it is there, please manually remove it.
===============================================
this answer is for you. if it helps, please click on "correct answer " button. thanks!
Best Regards,
Zhang Jun