MATH IN DUE

Hello Everyone ,

I check some precision in ARDUINO DUE .

I see that it is not very good precision .

One example : convert string to double .

String is : 45.12345678
String to Double is : 45.123456779999997 :frowning: :o :o :o

My Request is :

do trigonometric functions use 64-bit power or do I have to wait for an approximate value as for other platforms?

For the Due is it necessary add other special Library or not ?

Many thank for your patient .

String is : 45.12345678
String to Double is : 45.123456779999997

“Double precision” (64bit floating point) gives between 15 and 17 digits of precision.
Your numbers differ by 3 in the 17th digit.

Seems OK.