Ah , I came here to get some clarification on this issue.
I wanted to return nan when my sensor readings fail and have that propagate up the call chain testing with isnan(). I was not getting what I expected.
I fell back to the old fortranies trick of using -99999 but I'd rather this worked cleanly.
Does this work reliably with the pico_set_float_implementation(<TARGET> compiler) hack ?
What exactly is that argument for an RP2040 ?
TIA.
I wanted to return nan when my sensor readings fail and have that propagate up the call chain testing with isnan(). I was not getting what I expected.
I fell back to the old fortranies trick of using -99999 but I'd rather this worked cleanly.
Does this work reliably with the pico_set_float_implementation(<TARGET> compiler) hack ?
What exactly is that argument for an RP2040 ?
TIA.
Statistics: Posted by pie_face — Sun Oct 26, 2025 5:45 pm