[][src]Module pbrt::float

submodule to defined types, constants and methods when Float is defined as a f32 when not using the "float-as-double" cargo feature.

Modules

consts

Basic mathematical constants.

Constants

DIGITS

Approximate number of significant digits in base 10.

EPSILON

Machine epsilon value for f32.

INFINITY

Infinity (∞).

MANTISSA_DIGITS

Number of significant digits in base 2.

MAX

Largest finite f32 value.

MAX_10_EXP

Maximum possible power of 10 exponent.

MAX_EXP

Maximum possible power of 2 exponent.

MIN

Smallest finite f32 value.

MIN_10_EXP

Minimum possible normal power of 10 exponent.

MIN_EXP

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

MIN_POSITIVE

Smallest positive normal f32 value.

NAN

Not a Number (NaN).

NEG_INFINITY

Negative infinity (-∞).

RADIX

The radix or base of the internal representation of f32.

Type Definitions

Float

Alias of the f32 type, to be used through out the codebase anywhere a default sized Float is necessary.