11-18-2007 12:10 PM
11-18-2007 01:23 PM
11-18-2007 01:28 PM - edited 11-18-2007 01:29 PM
11-18-2007 01:35 PM
11-18-2007 01:47 PM - edited 11-18-2007 01:48 PM
11-18-2007 01:55 PM
11-18-2007 02:12 PM - edited 11-18-2007 02:13 PM
11-18-2007 02:33 PM
11-18-2007 02:55 PM - edited 11-18-2007 03:04 PM
Since the output is set to I16, I assume we have to allow negative inputs. In this case the above Q&R solution does no work as expected.
I would do something like the following (The original problem had 1000 hardwired so we just want it in milliunits for the fractional part).
Still, we need to be careful about FP issues.
11-18-2007 02:56 PM