History log of /seL4-l4v-10.1.1/HOL4/src/portableML/mosml/Arbnumcore.sml
Revision Date Author Comments
# 8d315d0c 09-Dec-2014 Michael Norrish <michael.norrish@nicta.com.au>

Delete trailing whitespace in src/

This needs doing periodically, and is best done to a whole bunch of files
at once.


# 64628539 05-Jun-2014 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Improve error reporting for the Arbnum string parsing functions.

Previously

Arbnum.fromHexString "g"

would raise Option and

Arbnum.fromHexString "ag"

would return 10. Now both fail with a "String not HEX" message.


# 508be0b4 20-Feb-2013 Anthony Fox <anthony.fox@cl.cam.ac.uk>

Some basic evaluation support for square roots over ``:num`` and ``:real``. Also add syntax support for transcTheory.

Tidied up logrootScript.sml. The evaluation theorems for ``ROOT 2`` were present but they weren't being used.

Over the reals a conversion is used -- this will only work for rationals built from perfect squares. For example:

> EVAL ``sqrt (9 / 16)``
val it = |- sqrt (9 / 16) = 3 / 4: thm


# 316436ee 19-Dec-2009 Scott Owens <Scott.Owens@cl.cam.ac.uk>

The PolyML version now uses PolyML's builin IntInf support. (This change
doesn't appear to speed up HOL, but it's nice to have anyway.)