scalarApproxUlp

Determines if two floating point scalars are maxUlps close to each other.

template scalarApproxUlp(T)
pure @safe @nogc nothrow
bool
scalarApproxUlp
(
in T a
,
in T b
,
in ulong maxUlps = 4
)
if (
isFloatingPoint!T
)

Members

Functions

scalarApproxUlp
bool scalarApproxUlp(T a, T b, ulong maxUlps)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta