package codex

  1. Overview
  2. Docs
The Codex library for building static analysers based on abstract interpretation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

1.0-rc4.tar.gz
md5=bc7266a140c6886add673ede90e335d3
sha512=8da42c0ff2c1098c5f9cb2b5b43b306faf7ac93b8f5ae00c176918cee761f249ff45b29309f31a05bbcf6312304f86a0d5a000eb3f1094d3d3c2b9b4c7f5c386

doc/codex.framac_ival/Framac_ival/Fval/F/index.html

Module Fval.FSource

Sourcetype t
Sourceval of_float : float -> t

fails on NaNs, but allows infinities.

Sourceval to_float : t -> float

fails on NaNs, but allows infinities.

Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool

Those functions distinguish -0. and +0.

Sourceval pretty : Format.formatter -> t -> unit
Sourceval pretty_normal : use_hex:bool -> Format.formatter -> t -> unit
Sourceval plus_zero : t
Sourceval is_finite : t -> bool

Returns true if the float is a finite number.

Sourceval next_float : kind -> float -> float

First double strictly above the argument. Must be called on non-NaN floats. Returns +infty on MAX_FLT. Infinities are left unchanged.

Sourceval prev_float : kind -> float -> float

First double strictly below the argument. Must be called on non-NaN floats. Returns -infty on -MAX_FLT. Infinities are left unchanged.