dplug ~master (2024-09-30T22:25:31Z)
Home
Dub
Repo
ResizeNumericType.ResizeNumericType
dplug
graphics
color
ResizeNumericType
Undocumented in source.
alias
ResizeNumericType
=
SignedBitsType
!
bits
alias
ResizeNumericType
=
UnsignedBitsType
!
bits
alias
ResizeNumericType
=
float
alias
ResizeNumericType
=
double
template
ResizeNumericType
(T, uint bits)
static if
(!(
is(T : ulong)
))
static if
(
is(T : real)
)
static if
(!(
bits <= float.mant_dig
))
static if
(
bits <= double.mant_dig
)
alias
ResizeNumericType
=
double
alias
ResizeNumericType
=
real
Meta
Source
See Implementation
dplug
graphics
color
ResizeNumericType
aliases
ResizeNumericType