AnsweredAssumed Answered

Enabling floating point

Question asked by John Dammeyer on Jun 19, 2014
Latest reply on Jun 19, 2014 by ZhangJennie

I need to use the log() function so I've included float.h.  Written the code.  It compiles but I get a linker error.that the _DSFLOAT and so on are not found.  I've checked off float=IEEE32 in the Code Generation line.  Oddly though there's also a -D__NO_FLOAT__ in the command line.  I can't find any check box to remove that.  It doesn't matter that I remove it.  I suspect I have to change my ansixbi.lib to one that handles floats.

So:

1. Other than editing how do I remove the -D__NO_FLOAT__

2. How do I decide which library to use.

 

Thanks

John

Outcomes