mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
expose CCFloat.fpclass as a public type
This commit is contained in:
parent
ddfebe055e
commit
23c1288849
2 changed files with 12 additions and 2 deletions
|
|
@ -24,7 +24,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
*)
|
||||
|
||||
type t = float
|
||||
type fpclass = Pervasives.fpclass
|
||||
type fpclass = Pervasives.fpclass =
|
||||
| FP_normal
|
||||
| FP_subnormal
|
||||
| FP_zero
|
||||
| FP_infinite
|
||||
| FP_nan
|
||||
|
||||
let nan = Pervasives.nan
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
@since NEXT_RELEASE *)
|
||||
|
||||
type t = float
|
||||
type fpclass
|
||||
type fpclass = Pervasives.fpclass =
|
||||
| FP_normal
|
||||
| FP_subnormal
|
||||
| FP_zero
|
||||
| FP_infinite
|
||||
| FP_nan
|
||||
|
||||
val nan : t
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue