Gabriel Scherer
7ca29ef3f7
PR#5887: move the byterun/*.h headers to byterun/caml/*.h to avoid header name clashes
...
(Jérôme Vouillon and Adrien Nader and Peter Zotov)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15757 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-12-27 14:41:49 +00:00
Xavier Leroy
b868c05ec9
PR#6517: use ISO C99 types {,u}int{32,64}_t in preference to our homegrown
...
types {,u}int{32,64}.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15131 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-08-27 09:58:33 +00:00
Xavier Leroy
774e30e138
PR#6075: avoid using unsafe C library functions (strcpy, strcat, sprintf).
...
An ISO C99-compliant C compiler and standard library is now assumed.
(Plus special exceptions for MSVC.) In particular, emulation code for
64-bit integer arithmetic was removed, the C compiler must support a
64-bit integer type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14607 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2014-04-15 17:09:13 +00:00
Damien Doligez
def31744f9
remove all $Id keywords
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@13013 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-10-15 17:50:56 +00:00
Alain Frisch
55688836f4
PR#4688: (Windows) special floating-point values aren't converted to strings correctly.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12030 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-16 10:23:51 +00:00
Damien Doligez
3b507dd1aa
renaming of Objective Caml to OCaml and cleanup of copyright headers
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11156 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-07-27 14:17:02 +00:00
Xavier Leroy
174ff0b018
PR#3806, 4752, 5246: added "hypot" and "copysign" to Pervasives.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@11065 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2011-06-04 08:55:55 +00:00
Damien Doligez
04b1656222
clean up spaces and tabs
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9547 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-01-22 12:48:24 +00:00
Xavier Leroy
2da17c49c6
PR#4638: added expm1 and log1p.
...
Cleaned up some doc comments in stdlib/pervasives.mli
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9216 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-04-01 16:08:37 +00:00
Xavier Leroy
97c2c3c328
PR#4503: classify_float wrong on ARM
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8976 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2008-08-02 11:02:28 +00:00
Xavier Leroy
1f99cd26f7
Memory leak in caml_float_of_{sub,}string (PR#3797)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7118 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-12 14:50:03 +00:00
Xavier Leroy
3de54dec26
Remplacement long/unsigned long par intnat/uintnat
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7064 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-09-22 14:21:50 +00:00
Pierre Weis
280dcb3097
Correcting bug about erroneous erro reporting in case of wrong
...
conversions in format strings.
Static and dynamic messages about wrong format strings are now very
similar in printf.ml, scanf.ml, and typecore.ml.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6802 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-04 14:51:31 +00:00
Xavier Leroy
8b51687a78
Fixed problem in caml_classify_float with 'strict aliasing' optimization in gcc 3 (PR#1982)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6067 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-09 15:33:31 +00:00
Damien Doligez
0c7aecb88d
depollution suite (et fin?) (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6047 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-02 19:23:29 +00:00
Damien Doligez
5a678d29f5
depollution suite (PR#1914 et PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6045 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-01-01 16:42:43 +00:00
Damien Doligez
331b2d89c3
depollution suite (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6044 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-31 14:20:40 +00:00
Damien Doligez
31943bac1d
depollution suite (PR#1914 et PR#1956); byterun/weak.c: PR#1929 suite
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6041 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-29 22:15:02 +00:00
Xavier Leroy
fa20613687
Introduction de Int32.float_of_bits et Int32.bits_of_float. Remplacement de float_of_bytes par Int64.float_of_bits.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6033 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-20 16:24:35 +00:00
Damien Doligez
aa46693dc5
depollution (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6023 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-16 18:09:44 +00:00
Damien Doligez
1a9f5599dd
decontamination (PR#1914, PR#1956)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6021 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 18:10:51 +00:00
Xavier Leroy
d956eeca5b
Revu semantique de compare sur les flottants
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5955 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-11-21 15:56:56 +00:00
Xavier Leroy
370a1cbdc4
float_of_string sur chaine vide (PR#1662)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5539 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-05-05 14:16:29 +00:00
Xavier Leroy
5c7accd134
Optimisation de Pervasives.compare par strength reduction
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-04-01 08:46:39 +00:00
Damien Doligez
0bacf85473
ajout include manquant
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5140 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-23 18:03:03 +00:00
Xavier Leroy
da8d3a6e46
Ne pas utiliser fpclassify sous Cygwin et Mingw (PR#1293)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5075 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-08-05 12:19:50 +00:00
Xavier Leroy
ec9b16b6bc
_ dans les litteraux d'entiers et de flottants
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4350 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-04 16:44:55 +00:00
Xavier Leroy
7501784c80
MAJ en-tetes pour mentionner la 'special exception' sur la LGPL
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4144 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-12-07 13:41:02 +00:00
Xavier Leroy
d6bbde1118
float_of_string leve l'exception Failure si la chaine n'est pas un flottant valide (PR#581)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3961 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 16:52:05 +00:00
Xavier Leroy
6ee4974081
Nettoyages.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3931 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-28 14:19:23 +00:00
Xavier Leroy
ddd99c7e5d
Chargement dynamique de primitives C
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3677 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-08-28 14:47:48 +00:00
Jacques Garrigue
22064c466b
ieee mode for FreeBSD before 4.0R (checked)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3476 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-27 03:08:20 +00:00
Xavier Leroy
1d08b37615
Dans float_of_bits, eviter de faire un load ou store flottant au cas ou le processeur serait en mode 'trapping' (PR#309)
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3469 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-15 14:50:29 +00:00
Jacques Garrigue
cb4fb47dde
floating point requires initialization on FreeBSD before 3.1R
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3468 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-03-14 05:36:59 +00:00
Xavier Leroy
8c88881c4d
Ajout float_of_bytes, classify_float. Enlever le cas particulier FreeBSD dans init_ieee_float, plus pertinent
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3385 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-05 08:51:16 +00:00
Damien Doligez
63e272ecc5
Begin_roots -> CAMLparam
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-29 19:03:05 +00:00
Xavier Leroy
cc0f32b054
Changement de la licence
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1999-11-17 18:59:06 +00:00
Damien Doligez
1785aa4ef9
portage MacOS standalone: T=0
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2111 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-10-02 13:02:32 +00:00
Xavier Leroy
ae0c8b96d7
Cosmetique dans div_float
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1989 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1998-06-22 12:43:41 +00:00
Xavier Leroy
ec6e90ab3f
Proto de do_local_roots
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1813 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-11-27 16:30:58 +00:00
Xavier Leroy
1517cea772
Sources C convertis en ANSI C
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-09-02 12:55:01 +00:00
Damien Doligez
8555ce8fe7
Changement de Push/Pop_roots en Begin/End_roots
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1572 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-05-26 17:16:31 +00:00
Damien Doligez
2cdc5ac5eb
Macintosh
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1367 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-10 21:17:40 +00:00
Pierre Weis
447403568a
Le nom de la primitive C abs_float est impose' par le compilateur...
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1318 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-04 17:36:56 +00:00
Pierre Weis
c1d4799782
Ajout des primitives ANSI C sur les flottants.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1316 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1997-03-04 14:55:17 +00:00
Xavier Leroy
7774748a20
Renommage BIG_ENDIAN -> ARCH_BIG_ENDIAN, etc.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@913 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-07-01 12:43:28 +00:00
Xavier Leroy
2301d778e7
Renommage en Objective Caml
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@782 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-04-30 14:53:58 +00:00
Xavier Leroy
0f413ccaa8
Suppression de la version optimisee de Double_val et Store_double_val
...
pour le Sparc: on tombe dans un bug de GCC 2.7.1 quand on compile abs_float.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@699 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-03-15 11:09:54 +00:00
Xavier Leroy
4845863b7a
Ajout de abs_float.
...
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@684 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-03-07 13:46:28 +00:00
Xavier Leroy
7d69381138
interp: ASSIGN met () dans l'accu
...
floats: petite rectif dans format_float.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@617 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
1996-02-01 15:03:21 +00:00