ae v0.0.2884 (2020-12-20T12:34:54Z)
Home
Dub
Repo
ResizeNumericType.ResizeNumericType
ae
utils
meta
ResizeNumericType
Undocumented in source.
alias
ResizeNumericType
=
SignedBitsType
!
bits
alias
ResizeNumericType
=
UnsignedBitsType
!
bits
alias
ResizeNumericType
=
float
alias
ResizeNumericType
=
double
alias
ResizeNumericType
=
real
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
))
static if
(
bits <= real.mant_dig
)
alias
ResizeNumericType
=
real
Meta
Source
See Implementation
ae
utils
meta
ResizeNumericType
aliases
ResizeNumericType