diff options
| author | Xavier Leroy <xavier.leroy@inria.fr> | 2015-07-26 09:29:33 +0000 |
|---|---|---|
| committer | Xavier Leroy <xavier.leroy@inria.fr> | 2015-07-26 09:29:33 +0000 |
| commit | bb86f5b545ed69ddd4c5d8627e1d33f5cbb60420 (patch) | |
| tree | d32889eaa337b60d8ffa94fcab8025ceb03b341d /boot | |
| parent | e14acb941af12634a33a3a0f9e1eb889c1fa049e (diff) | |
| download | ocaml-bb86f5b545ed69ddd4c5d8627e1d33f5cbb60420.tar.gz | |
Preliminary support for hexadecimal notation for FP numbers.
- Primitives:
caml_float_of_string extended to recognize "0x" hexa notation
caml_hexstring_of_float new primitive
We do not assume hex floats are supported by the C standard library.
Instead, conversions hex string <-> float are implemented manually.
- Printf: hex FP output supported with formats %h / %H
- Scanf: remains to be updated (see TODO in stdlib/scanf.ml)
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/hex-float@16257 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'boot')
| -rwxr-xr-x | boot/ocamlc | bin | 1805465 -> 1806965 bytes |
| -rwxr-xr-x | boot/ocamldep | bin | 567836 -> 569068 bytes |
| -rwxr-xr-x | boot/ocamllex | bin | 259143 -> 259576 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/boot/ocamlc b/boot/ocamlc Binary files differindex 5775fc43f7..04449a855e 100755 --- a/boot/ocamlc +++ b/boot/ocamlc diff --git a/boot/ocamldep b/boot/ocamldep Binary files differindex 98083c596f..868268229c 100755 --- a/boot/ocamldep +++ b/boot/ocamldep diff --git a/boot/ocamllex b/boot/ocamllex Binary files differindex 043c76967f..0bc974e5c0 100755 --- a/boot/ocamllex +++ b/boot/ocamllex |
