package ctypes
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=cae47d815b27dd4c824a007f1145856044542fe2588d23a443ef4eefec360bf1
md5=b1af973ec9cf7867a63714e92df82f2a
doc/ctypes/LDouble/index.html
Module LDouble
Source
The type of long doubles.
Convert a long double to a float. The result is unspecified if the argument is either too large or too small to be represented as a float
.
Convert a long double to an int. The result is unspecified if the argument is NAN or falls outside the range of representable integers.
Convert a long double to a string.
width
specifies the minimum number of digits to format the string with. A negative value left aligns. The default is 0.
prec
specifies the number of digits after the decimal point. The default is 6.
expm1 x
computes exp x -. 1.0
, giving numerically-accurate results even if x
is close to 0.0
.
log1p x
computes log(1.0 +. x)
(natural logarithm), giving numerically-accurate results even if x
is close to 0.0
.
copysign x y
returns a float whose absolute value is that of x
and whose sign is that of y
.
return (fractional,integer)
parts of number.
Known fatal bug on mingw32; see https://sourceforge.net/p/mingw-w64/bugs/478
Return the class of the given floating-point number: normal, subnormal, zero, infinite, or not a number.
The difference between 1.0
and the smallest exactly representable floating-point number greater than 1.0
.
A special floating-point value denoting the result of an undefined operation such as 0.0 /. 0.0
. Stands for 'not a number'.
size, in bytes, used for storing long doubles, and the actual number of bytes used by the value. (unused bytes may contain undefined values)
size of mantissa