S
Simon Reye
Is there a way to force a floating point value to be invalid? I'm
reading floating points from a device and every now and then I get an
invalid number, but it is too few and far between for me to be able to
test exception handling properly. I want to be able to force an invalid
floating point value so I can test it. I can put what ever hex values I
want into the device but don't have a clue what hex values will create
and invalid floating point value.
Simon
reading floating points from a device and every now and then I get an
invalid number, but it is too few and far between for me to be able to
test exception handling properly. I want to be able to force an invalid
floating point value so I can test it. I can put what ever hex values I
want into the device but don't have a clue what hex values will create
and invalid floating point value.
Simon