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

SDK • Re: Floating point bugs on RP2040 and RP235X ?

$
0
0

Code:

pico_set_float_implementation(${PROJECT_NAME} compiler)pico_set_double_implementation(${PROJECT_NAME} compiler)
Ah, many thanks. From <TARGET> I thought it was needing the architecture like x86, RP2040, eabi, or something.
On this job, I do a relatively small amount of maths on the data, so I can probably ignore the hit on speed.

Having nan propagate correctly means I don't have to check at every step like I do when using -99999 .

Is this being fixed in the SDK ? It's a shame to lose that extra speed and efficiency when it's needed.

Statistics: Posted by pie_face — Sun Oct 26, 2025 10:52 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles