nulib ~master (2025-12-14T08:31:17.4307625)
Dub
Repo
Fixed.opAssign
nulib
math
fixed
Fixed
Undocumented in source. Be warned that the author may not have intended to support it.
struct
Fixed
(T, size_t FRACT_BITS = (8 * (T.sizeof / 2)))
@
nogc
nothrow pragma(
inline
, true)
typeof
(this)
opAssign
(
R
)
(
const
R
rhs
)
if
(
!
is
(
Unqual
!
R
==
Unqual
!(
typeof
(this)))
)
if
(
__traits(
isIntegral
,
T
) &&
!__traits(
isUnsigned
,
T
)
)
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