package js_of_ocaml-compiler

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Javascript.NumSource

Sourcetype t

Conversions

Sourceval of_string_unsafe : string -> t
Sourceval of_targetint : Targetint.t -> t
Sourceval of_float : float -> t
Sourceval to_string : t -> string
Sourceval to_targetint : t -> Targetint.t

Predicates

Sourceval is_zero : t -> bool
Sourceval is_one : t -> bool
Sourceval is_neg : t -> bool

Arithmetic

Sourceval add : t -> t -> t
Sourceval neg : t -> t
OCaml

Innovation. Community. Security.