[Seaside-dev] Troubles with WANumberPrinter>>printFloat:on:

Lukas Renggli renggli at gmail.com
Thu Jun 4 19:44:59 UTC 2009


> * multiplier -> 99.0
>   "sign" (-1** 0) *
>   "mantissa" (2r110001011111111111111111 * (2** -23)) *
>   "exponent" (2** 6)

Thank you, that's very helpful.

Try the following, that's maybe better to avoid rounding errors:

Name: Seaside-Platform-lr.68
Author: lr
Time: 4 June 2009, 9:43:33 pm
UUID: d427cc35-e2bd-4aca-93e6-eca97f6d45f3
Ancestors: Seaside-Platform-lr.67

- a different, maybe more portable way to get correct rounding of the
last fraction digit

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the seaside-dev mailing list