eneural_net_fast_math library

Fast math library.

Constants

hex40000000 → const int
0x40000000 - used to split a double into two parts, both with the low order bits cleared. Equivalent to 2^30.

Properties

logMaxValue double
The logMaxValue is the natural logarithm of doubel.maxFinite
final

Functions

atan(double xa, [double xb = 0.0, bool leftPlane = false]) double
Internal helper function to compute arctangent.
atan2(double y, double x) double
Two arguments arctangent function
copySign(double magnitude, double sign) double
Returns the first argument with the sign of the second argument. A NaN sign argument is treated as positive.
cosh(double x) double
Compute the hyperbolic cosine of a number.
exp(double x) double
Optimized Exponential function.
expFloat32x4(Float32x4 entry) Float32x4
SIMD Optimized Exponential function.
expHighPrecision(double x, [double extra = 0.0, List<double>? highPrecision]) double
Internal helper method for exponential function.
expm1(double x, List<double> hiPrecOut) double
Compute exp(x) - 1.
sinh(double x) double
Compute the hyperbolic sine of a number.