Commit Graph

13 Commits (c659bb3471f383a3e9ccc7c33fa17095395bb516)

Author SHA1 Message Date
Christophe Troestler c920ea142b
Fix comment about NaN propagation (#9536)
Fix documentation comment about NaN propagation

Closes: #7891

Co-authored-by: David Allsopp <david.allsopp@metastack.com>
2020-05-12 15:35:04 +02:00
David Allsopp 7c2284eda3 Rename references to Pervasives to Stdlib 2019-06-26 18:11:58 +01:00
Damien Doligez fc60f71b45
add Stdlib.Float.Array (#1936)
Add Stdlib.Float.Array module with a bunch of functions for the
floatarray type.
2018-12-03 14:08:56 +01:00
Laurent Thévenoux db99969bc8 Support FMA operation (#1354)
Adds a fused multiply-add operation to the Float module.

The following changes are made:
- configure: check math.h for the C99 fma() operation.
- fma declarations in float.ml[i] (stdlib/).
- C fma() call or emulation in runtime/floats.c.
- dedicated tests in testsuite/tests/fma.
2018-10-26 10:45:36 +02:00
Christophe Troestler 00f9739dcb Extend Stdlib.Float with more functions (#1794) 2018-10-23 13:21:09 +02:00
Jérémie Dimino 9124ab82d1
Deprecate Pervasives (#1605)
- inline Pervasives in Stdlib and re-add Pervasives as a deprecated
module that aliases all elements of Stdlib except the stdlib modules.

- remove special case for Stdlib.Pervasives in printtyp.ml
2018-08-27 12:42:14 +01:00
Damien Doligez c11f19c2ff add @since annotations to stdlib/float.mli and stdlib/bigarray.mli 2018-04-10 14:16:26 +02:00
Christophe Troestler 9f0f710a8d Add Float.pi
Fixes https://caml.inria.fr/mantis/view.php?id=4170
2018-03-29 18:49:21 +02:00
Nicolás Ojeda Bär 2f6ffb138e Rename epsilon_float -> epsilon 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär a36e1e70d4 Copyright 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär 8bb6d26e50 Add Float.hash 2018-03-15 18:26:52 +01:00
Nicolás Ojeda Bär 8b396af99b Add Float.Array module 2018-03-15 18:26:51 +01:00
Nicolás Ojeda Bär 7f6d059f08 Add Float module 2018-03-15 18:26:51 +01:00