strtod() problems

cancel
Showing results for 
Search instead for 
Did you mean: 

strtod() problems

Jump to solution
836 Views
mikey1
Contributor III
I have been building code for the 9S12X processor and only using the integer library.  I now have a need to deal with floating point and so swapped out the lib from ansixli.lib to ansixlf.lib
 
when I try to use the strtod() function I get the wrong results and the function writes over the top of the string that I am trying to parse at the point where the asci representation of the floating point number ends.
 
any recomendations?
Labels (1)
Tags (1)
0 Kudos
1 Solution
84 Views
mikey1
Contributor III
I just answered my own question.  I had selected the wrong floating point lib.  I should have used "ansixl.lib" instead of  "ansixlf.lib"
 
I hope this mistake helps someone else
 
 

View solution in original post

0 Kudos
1 Reply
85 Views
mikey1
Contributor III
I just answered my own question.  I had selected the wrong floating point lib.  I should have used "ansixl.lib" instead of  "ansixlf.lib"
 
I hope this mistake helps someone else
 
 

View solution in original post

0 Kudos