gfx ~meson (2022-03-26T21:27:26.8342465)
Dub
Repo
scalarApproxUlp
gfx
math
approx
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
Source
See Implementation
gfx
math
approx
aliases
approxRel
approxRelAndAbs
approxUlp
approxUlpAndAbs
enums
ApproxMethod
functions
approx
templates
scalarApproxRel
scalarApproxRelAndAbs
scalarApproxUlp
scalarApproxUlpAndAbs
ulpDiff
Determines if two floating point scalars are maxUlps close to each other.