Zig 0.17.0-dev (Split by item) This is an example of documentation generated by
ZigDoc , an alternative to Zig's built-in
Auto Doc feature. See also
examples in other modes/formats . The project being documented here (as the example) is the Zig standard library.
std › zig › llvm › Builder › Attribute › FpClass Public Struct FpClass Doc Source Public Struct std.zig.llvm.Builder.Attribute.FpClass
pub const FpClass = packed struct (u32 ) 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 File zig/llvm/Builder.zig: 2365
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410 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 };
}