ESP8266 Developer Zone The Official ESP8266 Forum 2016-06-15T16:43:09+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2265 2016-06-15T16:43:09+08:00 2016-06-15T16:43:09+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2265&p=7341#p7341 <![CDATA[Re: problem using 64-bit Integer type in RTOS SDK]]> That's other issue that caused the mess in my value on 64bit integer.
At least I can isolate this from the issue.....:)

Statistics: Posted by teckhaokoh — Wed Jun 15, 2016 4:43 pm


]]>
2016-06-12T20:07:22+08:00 2016-06-12T20:07:22+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2265&p=7285#p7285 <![CDATA[Re: problem using 64-bit Integer type in RTOS SDK]]>

Code:

int64_t a = 0xF0F0F0F0F0F0F0F0;
printf("%d.%d\n", (int32_t)(a/4294967296), (int32_t)(a%4294967296));

Statistics: Posted by tobewinner — Sun Jun 12, 2016 8:07 pm


]]>
2016-06-08T15:45:48+08:00 2016-06-08T15:45:48+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2265&p=7262#p7262 <![CDATA[problem using 64-bit Integer type in RTOS SDK]]> RTOS version seems like couldn't the 64 bit integer types, is that true?

I tried printf/os_printf the value for int64_t data type, it will not display for any value more that 32-bit.
I've tried using NONOS SDK version 1.5.3, os_printf having no issue for the int64_t type.

Any further info on this?
Any fixes for the 64-bit integer value in RTOS SDK?

Statistics: Posted by teckhaokoh — Wed Jun 08, 2016 3:45 pm


]]>