Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By tma
#51912 Greetings,

I noticed that Serial.print does not support uint64_t variables which has me wondering if the math package supports 64 bit precision. Does anyone in this forum know the precision level of the math package?

Thanks in advance!
User avatar
By tma
#52047 Greetings,
Thanks for your interest!

I understand Serial.println() prints ASCII characters but it automatically does the conversion for uint32_t, 32 bit integers. Since my post I noticed a posting of an alternate println library function that apparently will handle 64 bit integers.

You have me thinking that I should try an itoa conversion to a char array and then print the result. I am not sure if the itoa function works for 64 bit integers - possibly that is the problem.

BTW I would like to delete my other similar post under general discussions but do not know how to do that.

Thanks again!