On Sat, May 13, 2017 at 11:48 AM, William Hermans <[email protected]> wrote:

>
>
> On Sat, May 13, 2017 at 11:46 AM, William Hermans <[email protected]>
> wrote:
>
>> nan == "not  a number". So something you've "hacked" is most likely
>> causing that output.
>>
>
> Quite possibly related to sending output from an unsigned char, or
> character type without first converting( casting ) to a number type. In
> your case, probably float or double.
>

Sorry, my bad, multi tasking here, and not thinking the problem through
fully. Casting to a number type probably won't work. You'll need to use
something like strtof() http://www.cplusplus.com/reference/cstdlib/strtof/

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CALHSORoDxVoK_RmfVD40QWV%3DWjWSX8U8_7zRBHrHp5WY0Fbezw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to