Commit Graph

11 Commits (55973d1203e290709f30dcda443311fac0e371e1)

Author SHA1 Message Date
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
David Allsopp b5d1929e87 Whitespace and overlong line fixes. 2018-06-14 15:15:34 +01: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