> Ok I looked around at the other fsec assignments in adt/ and did not
> see any that were not treating them as fractional correctly. This
> seems to be the only case. Anywho is the below more what you
> expected? (I decided to do it for the floating point case as well...)
Applied with some cosmetic adjustments. (Some of us old hands still
don't trust / and % to be consistent for negative inputs ...)
regards, tom lane