Post
by euclid » Mon, 23. Nov 15, 14:48
Hi Gqqnbig,
The subtraction is covered by the sign of an fpn. Just use the add function with the second fpn having sign -1. To recall the structure:
" fpn: is an array (s,m,e) of size 3 with s=+/-1 the sign, m natural number and e the exponent.
Example: The number -1/20 = -0.04 = -4E-2 has the fps rep (-1,4,-2) "
Cheers Euclid
"In any special doctrine of nature there can be only as much proper science as there is mathematics therein.”
- Immanuel Kant (1724-1804), Metaphysical Foundations of the Science of Nature, 4:470, 1786