structstd.zig.llvm.Builder.Attribute.FpClass[src]

Fields

signaling_nan: bool = false
quiet_nan: bool = false
negative_infinity: bool = false
negative_normal: bool = false
negative_subnormal: bool = false
negative_zero: bool = false
positive_zero: bool = false
positive_subnormal: bool = false
positive_normal: bool = false
positive_infinity: bool = false
_: u22 = 0

Values

Constantall[src]

Source Code

Source code
pub const all = FpClass{
    .signaling_nan = true,
    .quiet_nan = true,
    .negative_infinity = true,
    .negative_normal = true,
    .negative_subnormal = true,
    .negative_zero = true,
    .positive_zero = true,
    .positive_subnormal = true,
    .positive_normal = true,
    .positive_infinity = true,
}

Constantnan[src]

Source Code

Source code
pub const nan = FpClass{ .signaling_nan = true, .quiet_nan = true }

Constantsnan[src]

Source Code

Source code
pub const snan = FpClass{ .signaling_nan = true }

Constantqnan[src]

Source Code

Source code
pub const qnan = FpClass{ .quiet_nan = true }

Constantinf[src]

Source Code

Source code
pub const inf = FpClass{ .negative_infinity = true, .positive_infinity = true }

Constantninf[src]

Source Code

Source code
pub const ninf = FpClass{ .negative_infinity = true }

Constantpinf[src]

Source Code

Source code
pub const pinf = FpClass{ .positive_infinity = true }

Constantzero[src]

Source Code

Source code
pub const zero = FpClass{ .positive_zero = true, .negative_zero = true }

Constantnzero[src]

Source Code

Source code
pub const nzero = FpClass{ .negative_zero = true }

Constantpzero[src]

Source Code

Source code
pub const pzero = FpClass{ .positive_zero = true }

Constantsub[src]

Source Code

Source code
pub const sub = FpClass{ .positive_subnormal = true, .negative_subnormal = true }

Constantnsub[src]

Source Code

Source code
pub const nsub = FpClass{ .negative_subnormal = true }

Constantpsub[src]

Source Code

Source code
pub const psub = FpClass{ .positive_subnormal = true }

Constantnorm[src]

Source Code

Source code
pub const norm = FpClass{ .positive_normal = true, .negative_normal = true }

Constantnnorm[src]

Source Code

Source code
pub const nnorm = FpClass{ .negative_normal = true }

Constantpnorm[src]

Source Code

Source code
pub const pnorm = FpClass{ .positive_normal = true }

Source Code

Source code
pub const FpClass = packed struct(u32) {
    signaling_nan: bool = false,
    quiet_nan: bool = false,
    negative_infinity: bool = false,
    negative_normal: bool = false,
    negative_subnormal: bool = false,
    negative_zero: bool = false,
    positive_zero: bool = false,
    positive_subnormal: bool = false,
    positive_normal: bool = false,
    positive_infinity: bool = false,
    _: u22 = 0,

    pub const all = FpClass{
        .signaling_nan = true,
        .quiet_nan = true,
        .negative_infinity = true,
        .negative_normal = true,
        .negative_subnormal = true,
        .negative_zero = true,
        .positive_zero = true,
        .positive_subnormal = true,
        .positive_normal = true,
        .positive_infinity = true,
    };

    pub const nan = FpClass{ .signaling_nan = true, .quiet_nan = true };
    pub const snan = FpClass{ .signaling_nan = true };
    pub const qnan = FpClass{ .quiet_nan = true };

    pub const inf = FpClass{ .negative_infinity = true, .positive_infinity = true };
    pub const ninf = FpClass{ .negative_infinity = true };
    pub const pinf = FpClass{ .positive_infinity = true };

    pub const zero = FpClass{ .positive_zero = true, .negative_zero = true };
    pub const nzero = FpClass{ .negative_zero = true };
    pub const pzero = FpClass{ .positive_zero = true };

    pub const sub = FpClass{ .positive_subnormal = true, .negative_subnormal = true };
    pub const nsub = FpClass{ .negative_subnormal = true };
    pub const psub = FpClass{ .positive_subnormal = true };

    pub const norm = FpClass{ .positive_normal = true, .negative_normal = true };
    pub const nnorm = FpClass{ .negative_normal = true };
    pub const pnorm = FpClass{ .positive_normal = true };
}