> > 1) Why does int.sml's fmt function first ensure that its input is negative > > and then negates the result from rem? Why not operate on the > > positive absolute value instead? > > So that Int.minInt can be handled. Ah! :-) It'll be much easier to debug it now that I know why it is written that way. :-) -- Filip Pizlo http://bocks.psych.purdue.edu/ pizlo@purdue.edu