This is a submodule of std.math.
This is a submodule of std.math.
This is a submodule of std.math.
This is a submodule of std.math.
This is a submodule of std.math.
This is a submodule of std.math.
This is a submodule of std.math.
This is a submodule of std.math.
This is a submodule of std.math.
Calculate the remainder x REM y, following IEC 60559.
Copyright The D Language Foundation 2000 - 2011. D implementations of tan, atan, atan2, exp, expm1, exp2, log, log10, log1p, log2, floor, ceil and lrint functions are based on the CEPHES math library, which is Copyright (C) 2001 Stephen L. Moshier <steve@moshier.net> and are incorporated herein by permission of the author. The author reserves the right to distribute this material elsewhere under different copying permissions. These modifications are distributed here under the following terms:
Contains the elementary mathematical functions (powers, roots, and trigonometric functions), and low-level floating-point operations. Mathematical special functions are available in std.mathspecial.
The functionality closely follows the IEEE754-2008 standard for floating-point arithmetic, including the use of camelCase names rather than C99-style lower case names. All of these functions behave correctly when presented with an infinity or NaN.
The following IEEE 'real' formats are currently supported:
Unlike C, there is no global 'errno' variable. Consequently, almost all of these functions are pure nothrow.