From: John R. <jh...@cs...> - 2004-01-19 17:13:37
|
Is the definition of "too large" any number larger than the largest exactly representable number? - John On Jan 18, 2004, at 9:33 PM, Stephen Weeks wrote: > > Does anyone have any thoughts on what an SML compiler should do when > it encounters a real constant that is too large to be represented? > Currently, some compilers silently produce an inf (Hamlet and MLton), > some report an error (Moscow ML), some encounter an exception in the > compiler (Poly/ML and SML/NJ), and one reports an error during > assembly (ML Kit). > > My thought is that the right thing is to do as Moscow ML does, and > report an error similar to an integer too large error. > > > ------------------------------------------------------- > The SF.Net email is sponsored by EclipseCon 2004 > Premiere Conference on Open Tools Development and Integration > See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. > http://www.eclipsecon.org/osdn > _______________________________________________ > Sml-implementers mailing list > Sml...@li... > https://lists.sourceforge.net/lists/listinfo/sml-implementers > |