Module half::consts[][src]

👎 Deprecated since 1.4.0:

all constants moved to associated constants of f16

[]

Useful f16 constants.

Constants

DIGITSDeprecated

Approximate number of f16 significant digits in base 10.

EDeprecated

f16 Euler’s number (ℯ).

EPSILONDeprecated

f16 machine epsilon value.

FRAC_1_PIDeprecated

f16 1/π

FRAC_1_SQRT_2Deprecated

f16 1/√2

FRAC_2_PIDeprecated

f16 2/π

FRAC_2_SQRT_PIDeprecated

f16 2/√π

FRAC_PI_2Deprecated

f16 π/2

FRAC_PI_3Deprecated

f16 π/3

FRAC_PI_4Deprecated

f16 π/4

FRAC_PI_6Deprecated

f16 π/6

FRAC_PI_8Deprecated

f16 π/8

INFINITYDeprecated

f16 positive Infinity (+∞).

LN_2Deprecated

f16 𝗅𝗇 2

LN_10Deprecated

f16 𝗅𝗇 10

LOG2_EDeprecated

f16 𝗅𝗈𝗀₂ℯ

LOG10_EDeprecated

f16 𝗅𝗈𝗀₁₀ℯ

MANTISSA_DIGITSDeprecated

Number of f16 significant digits in base 2.

MAXDeprecated

Largest finite f16 value.

MAX_10_EXPDeprecated

Maximum possible f16 power of 10 exponent.

MAX_EXPDeprecated

Maximum possible f16 power of 2 exponent.

MAX_SUBNORMALDeprecated

Maximum subnormal f16 value.

MINDeprecated

Smallest finite f16 value.

MIN_10_EXPDeprecated

Minimum possible normal f16 power of 10 exponent.

MIN_EXPDeprecated

One greater than the minimum possible normal f16 power of 2 exponent.

MIN_POSITIVEDeprecated

Smallest positive normal f16 value.

MIN_POSITIVE_SUBNORMALDeprecated

Minimum positive subnormal f16 value.

NANDeprecated

f16 Not a Number (NaN).

NEG_INFINITYDeprecated

f16 negative infinity (-∞).

NEG_ZERODeprecated

f16 -0

ONEDeprecated

f16 1

PIDeprecated

f16 Archimedes’ constant (π).

RADIXDeprecated

The radix or base of the internal representation of f16.

SQRT_2Deprecated

f16 √2

ZERODeprecated

f16 0