[MLton] ARM and setRoundingMode
adam at spicenitz.org
Sun Apr 12 22:50:24 PDT 2009
I am bootstrapping MLton for Fedora ARM. Everything seems to be
working well, but the target hardware is software floating point,
which on ARM doesn't implement non-default IEEE rounding modes.
if the hardware doesn't support a rounding mode, setRoundingMode
could raise an exception for unsupported modes. This is detectable
when fesetround returns a non-zero value.
Should MLton do this? What exception should be used? It would
be nice to know when setRoundingMode fails.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://mlton.org/pipermail/mlton/attachments/20090413/c17586d8/signature.pgp
More information about the MLton