Report a bug

If you spot a problem with this page, click here to create a Github issue.

Improve this page

Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
a local clone.

# mir.math.common

Common floating point math functions.

This module has generic LLVM-oriented API compatable with all D compilers.

License:

Authors:

Ilya Yaroshenko

- T
`sqrt`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`sin`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`cos`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`pow`

(T)(in T`x`

, in T`power`

)

if (isFloatingPoint!T); - T
`powi`

(T)(in T`x`

, int`power`

)

if (isFloatingPoint!T); - T
`exp`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`log`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`fabs`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`floor`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`exp2`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`log10`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`log2`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`ceil`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`trunc`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`rint`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`nearbyint`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`copysign`

(T)(in T`mag`

, in T`sgn`

)

if (isFloatingPoint!T); - T
`round`

(T)(in T`x`

)

if (isFloatingPoint!T); - T
`fmuladd`

(T)(in T`a`

, in T`b`

, in T`c`

)

if (isFloatingPoint!T); - T
`fmin`

(T)(in T`x`

, in T`y`

)

if (isFloatingPoint!T); - T
`fmax`

(T)(in T`x`

, in T`y`

)

if (isFloatingPoint!T);

Copyright © 1999-2018 by the D Language Foundation | Page generated by
Ddoc on Fri Feb 16 15:37:06 2018