nulib ~master (2025-12-14T08:31:17.4307625)
Dub
Repo
Fixed.opBinary
nulib
math
fixed
Fixed
Undocumented in source. Be warned that the author may not have intended to support it.
typeof
(
this
)
opBinary
(R rhs)
struct
Fixed
(T, size_t FRACT_BITS = (8 * (T.sizeof / 2)))
@
nogc
nothrow pragma(
inline
, true) const
typeof
(this)
opBinary
(
string
op
R
)
(
const
R
rhs
)
if
(
isFixed
!
R
)
if
(
__traits(
isIntegral
,
T
) &&
!__traits(
isUnsigned
,
T
)
)
typeof
(
this
)
opBinary
(R rhs)
Meta
Source
See Implementation
nulib
math
fixed
Fixed
aliases
Self
ValueT
constructors
this
enums
FRACT_DIV
functions
opAssign
opBinary
opCast
opEquals
opOpAssign
toHash
static functions
fromData
variables
FRACT_MASK
INT_MASK
SHIFT
data
max
min