Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8026

C/C++ • Re: Discrepancy between datatypes performance

$
0
0
I am surprised that implicit casting caused such kind of issues on Pico2 !
That is wierd...
implicit casting shall not cause any issues in general except the results may be wrong if the user didn't pay much attention.

did you have a chance to check the rootcause ?
I got the same problem with the int array since the bug is not the array but the way the user uses time_us_64. (64bits->32bits->float)

In my code with the pico the int array[13 * 1024] looks like this

Statistics: Posted by akhodeir — Mon Oct 14, 2024 8:10 am



Viewing all articles
Browse latest Browse all 8026

Trending Articles