Looks Like Float strikes again
According to Windows Calculator
17FFF + 17FFF = 2FFFE
Plugging these numbers into your example gives the following results
N17:1 = 7FFF
N17:2 = 1
N17:3 = 7FFF
N17:4 = FFFE
N17:5 = 3
B13:0 = 1
kamenges said:This should be very similar to Alaric's solution but it doesn't count on the unsinged integer result capability of the SLC series. And, yes, it's not pretty.
My other thought was to do this like a micro-p does it in hardware. That would be even messier yet but it would most likely be faster.
Keith
According to Windows Calculator
17FFF + 17FFF = 2FFFE
Plugging these numbers into your example gives the following results
N17:1 = 7FFF
N17:2 = 1
N17:3 = 7FFF
N17:4 = FFFE
N17:5 = 3
B13:0 = 1