I am using strtod() library function to convert a string to double. It looks like the function is performing on floats.
It is returning a single precision floating point number.
Even casting to double is resulting a single precision number.
sscanf also behaves in the same way.
How do I convert a string to double with out losing any precision? I am working on CortexM4 uc.
Any hints are appreciated.
Please sign in to leave a comment.