Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Interface for Python values of type Number
.
Wrapper for PyNumber_Absolute
Wrapper for PyNumber_Add
Wrapper for PyNumber_And
Wrapper for PyNumber_Divmod
Wrapper for PyNumber_Float
Wrapper for PyNumber_FloorDivide
Wrapper for PyNumber_InPlaceAdd
Wrapper for PyNumber_InPlaceAnd
Wrapper for PyNumber_InPlaceFloorDivide
Wrapper for PyNumber_InPlaceLshift
Wrapper for PyNumber_InPlaceMultiply
Wrapper for PyNumber_InPlaceOr
Wrapper for PyNumber_InPlacePower
Wrapper for PyNumber_InPlaceRemainder
Wrapper for PyNumber_InPlaceRshift
Wrapper for PyNumber_InPlaceSubtract
Wrapper for PyNumber_InPlaceTrueDivide
Wrapper for PyNumber_InPlaceXor
Wrapper for PyNumber_Invert
Wrapper for PyNumber_Lshift
Wrapper for PyNumber_Multiply
Wrapper for PyNumber_Negative
Wrapper for PyNumber_Or
Wrapper for PyNumber_Positive
Wrapper for PyNumber_Power
Wrapper for PyNumber_Remainder
Wrapper for PyNumber_Rshift
Wrapper for PyNumber_Subtract
Wrapper for PyNumber_TrueDivide
Wrapper for PyNumber_Xor
val check : Object.t -> bool
check v
returns true
if v
is a Python float or a Python integer/long.
val to_float : Object.t -> float
to_float v
returns the floating-point value equal to the Python integer or Python float v
. Raises a failure (Failure _
) if v
is neither a float nor an integer.
val of_int : int -> Object.t
Synonym of Py.Int.of_int
val of_int64 : int64 -> Object.t
Synonym of Py.Int.of_int64
val of_float : float -> Object.t
Synonym of Py.Float.of_float
Synomym of true_divide
Synomym of number_and
Synomym of number_xor