Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /tests/trunk/bugs/tests.obsolete/bug812.sml
ViewVC logotype

Annotation of /tests/trunk/bugs/tests.obsolete/bug812.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2071 - (view) (download)
Original Path: tests/trunk/bugs/tests/bug812.sml

1 : dbm 548 (* bug812.sml *)
2 :    
3 :     fun how_big(x:real):unit*unit*real =
4 :     if Real.isNormal x then
5 :     (print(Real.toString x), print "\n", #3(how_big(2.0*x)))
6 :     else
7 :     raise Overflow;
8 :    
9 :    
10 :     how_big 2.0; (* should give largest value then "uncaught exception Overflow"*)
11 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0