Commit Graph

89 Commits (d3d363a1a65a21ae55669607ea792ce860069d2f)

Author SHA1 Message Date
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
Damien Doligez 10ed81e2c8 extra def. of ~+; cut long lines
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12019 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2012-01-12 15:46: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 575555eecd merge changes from branching of 3.12 to release/3.12.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10643 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-08-02 14:37:22 +00:00
Pierre Weis 49f84679d2 Spacing review: symboliques operators are surrounded with spaces, ":" are also surrounded by spaces not to confuse with labels (as exemplify by emacs coloration!).
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10551 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-06-09 11:00:56 +00:00
Pierre Weis f5c2201cc0 PR#5062
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@10498 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2010-06-04 16:44:08 +00:00
Pierre Weis 5d35a4b475 Format concatenation introduces %, to delimit conversions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9431 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-11-30 21:58:35 +00:00
Pierre Weis 4126456434 Typos.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@9344 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2009-09-23 11:17:05 +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
Pierre Weis b6fa9a2529 Typo in the definition of format4.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7734 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-11-17 08:34:02 +00:00
Pierre Weis 0be3884f18 Introducing format6 as a built in type.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7701 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2006-10-24 20:42:41 +00:00
Damien Doligez 0e5ca9dca5 nettoyage
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@7164 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-10-25 18:34:07 +00:00
Pierre Weis 58c2c48ac7 More regular naming convention for operations on format strings.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6814 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2005-03-11 13:42:01 +00:00
Xavier Leroy 63c1789b5e Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2004-07-13 12:25:21 +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 a90b6e9d12 decontamination (PR#1914, PR#1956)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6022 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-15 18:37:24 +00:00
Damien Doligez 5fcac6a58c debut du travail de depollution de l'espace de noms (PR#1914)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6011 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-12-08 19:50:26 +00:00
Xavier Leroy 8938acb2ef Retour a %.12g dans string_of_float (PR#1778)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5755 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-29 09:08:42 +00:00
Damien Doligez 1c089d9b2c PR#1781
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5745 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-26 18:50:52 +00:00
Xavier Leroy 1a4be860d0 Renommage type format -> format4 et reintroduction type format a 3 arguments pour compatibilite arriere
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5658 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-07-05 11:13:24 +00:00
Xavier Leroy e697df642b string_of_float: 17 digits au lieu de 18 (18 donne des resultats tres moches sous Linux)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5615 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-06-23 12:51:18 +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 992ea70149 regularisation de print_endline
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5387 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2003-01-22 16:32:57 +00:00
Damien Doligez 109ff9461e 18 chiffres pour les flottants
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5338 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-12-12 18:56:13 +00:00
Damien Doligez 449722dbf5 flush_all ignore les erreurs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5231 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-11-02 21:54:19 +00:00
Pierre Weis 04756a214b Introducing format concatenation.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5213 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 12:29:33 +00:00
Damien Doligez 1ba3a292a9 fix du fix du PR#1249
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5212 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 10:37:53 +00:00
Pierre Weis 6df4c2b6de Introducing (and using) string and string format coercions.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5211 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-31 10:00:02 +00:00
Damien Doligez 0738514628 PR#1249
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5197 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-29 13:55:33 +00:00
Damien Doligez a0aa7eda67 modif de string_of_float pour afficher tous les chiffres
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5178 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-10-11 20:20:53 +00:00
Damien Doligez 0d5055997a PR#1378
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5148 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-27 14:20:58 +00:00
Pierre Weis c89dbcc9e0 Introducing the (compiler private) helper function to turn out a
string representation of a floating point number to a valid Caml token
(valid_float_token).


git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5116 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-09-05 10:31:18 +00:00
Xavier Leroy ede12e6163 Remplacement des tests ofs + len > length par ofs > len - length, pour eviter le debordement lors de l'addition (PR#1229)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4993 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-07-12 09:47:54 +00:00
Xavier Leroy bddfe5d0ce Ajout operations sur gros fichiers
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4474 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-03-02 09:16:39 +00:00
Xavier Leroy 7f765d521e Reimplementation de input_line pour meilleures performances sur longues lignes (PR#813)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4374 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-02-11 13:49:36 +00:00
Jacques Garrigue 0d3a75cc7a forward definition of String.get
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4311 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-25 07:07:49 +00:00
Damien Doligez 9f64519070 bug string_of_float
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4309 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2002-01-24 17:47:21 +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 20caa2a70d Ajout de max_float, min_float, epsilon_float
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3957 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 14:29:29 +00:00
Xavier Leroy 5691abd539 Enregistrer do_at_exit afin de faire un callback avant d'afficher une exception non rattrapee
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3947 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-30 09:25:09 +00:00
Xavier Leroy 2f7123618c Ajout de flush_all + modifs pour Cash (Bruno Verlyck)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3872 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-10-09 15:14:01 +00:00
Xavier Leroy 16085ba437 Suppression definition inutile de fflush
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3430 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-20 10:18:55 +00:00
Xavier Leroy adc10efa0c Documentation amelioree. Ajout de infinity, neg_infinity, nan, classify_float
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3392 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2001-02-05 08:55:25 +00:00
Damien Doligez b80c77b025 fix -noassert pour que le typage des assertions soit toujours fait
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3353 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
2000-12-04 15:37:05 +00:00