Quantcast
Channel: MPLAB C30 Compiler, ASM30, Link30 forum
Viewing all articles
Browse latest Browse all 304

atof() function lacks precision? (Altzone)

$
0
0
I'm using the atof() function to convert a string into a double precison floating point number, but the precision only seems to be 7 digits or so. e.g. if I convert "1.1" I get the result 1.1000000238 Converting "1.0" gives me the correct 1.00000000000 ..

Viewing all articles
Browse latest Browse all 304

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>