[MLton] Real.fromLargeInt buggy (64 bit)

Matthew Fluet fluet at tti-c.org
Wed Nov 28 07:01:08 PST 2007


On Wed, 28 Nov 2007, Wesley W. Terpstra wrote:
>>  terpstra at tokyo:~$ ./bug
>>  3 6
>>  terpstra at tokyo:~$ cat bug.sml
>>  val x = Real.fromLargeInt 3
>>  val y = Real.toInt IEEEReal.TO_ZERO x
>>  val () = print (Int.toString 3 ^ " " ^ Int.toString y ^ "\n")
>
> ... are these not covered by the regression suite?

They are extensively covered by the regression suite.  I suspect that 
something is amiss in your cross-compiler.




More information about the MLton mailing list