Raul Miller <rauldmil...@gmail.com> wrote: > They can, which is disturbing. > However, they don't have to (and they have some other advantages, also...).
They do have to (round and otherwise display non-arithmetic behavior). All floats are actually rational numbers which follow a specific format and truncate in specific ways. But you're also right that they have enormous advantages, even when they do that, so long as the programmer knows when it's going to happen. Nobody should want to use extended rationals _except_ to compute a trusted baseline or otherwise prove a numeric point. But that's what the original poster here wants to do. > Raul -Wm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm