tanya ~master (2021-06-04T07:37:50Z)
Dub
Repo
FloatBits
tanya
math
Undocumented in source.
package
union
FloatBits (
F
) {
Unqual
!
F
floating
;
static if
(
ieeePrecision!F == IEEEPrecision.single
)
uint
integral
;
static if
(
ieeePrecision!F == IEEEPrecision.single
)
enum
uint
expMask
;
static if
(!(
ieeePrecision!F == IEEEPrecision.single
))
static if
(
ieeePrecision!F == IEEEPrecision.double_
)
ulong
integral
;
static if
(!(
ieeePrecision!F == IEEEPrecision.single
))
static if
(
ieeePrecision!F == IEEEPrecision.double_
)
enum
ulong
expMask
;
struct
__anonymous
;
static if
(!(
ieeePrecision!F == IEEEPrecision.single
))
static if
(!(
ieeePrecision!F == IEEEPrecision.double_
))
static if
(
ieeePrecision!F == IEEEPrecision.doubleExtended
)
enum
ulong
mantissaMask
;
static if
(!(
ieeePrecision!F == IEEEPrecision.single
))
static if
(!(
ieeePrecision!F == IEEEPrecision.double_
))
static if
(
ieeePrecision!F == IEEEPrecision.doubleExtended
)
enum
uint
expMask
;
}
Members
Structs
__anonymous
struct
__anonymous
Undocumented in source.
Variables
expMask
enum
uint
expMask
;
Undocumented in source.
expMask
enum
ulong
expMask
;
Undocumented in source.
expMask
enum
uint
expMask
;
Undocumented in source.
floating
Unqual
!
F
floating
;
Undocumented in source.
integral
uint
integral
;
Undocumented in source.
integral
ulong
integral
;
Undocumented in source.
mantissaMask
enum
ulong
mantissaMask
;
Undocumented in source.
Meta
Source
See Implementation
tanya
math
modules
nbtheory
random
tests
enums
FloatingPointClass
IEEEPrecision
functions
classify
isFinite
isInfinity
isNaN
isNormal
isSubnormal
pow
signBit
templates
ieeePrecision
unions
FloatBits