mirror of
https://github.com/ziglang/zig.git
synced 2025-12-24 15:13:08 +00:00
Fix FastMath packed struct
* Added missing legacy field (unused_algebra) * Made struct correct size (u32 -> u8)
This commit is contained in:
parent
7cb8813743
commit
ec5a433fdf
@ -7340,7 +7340,8 @@ const MemoryAccessInfo = packed struct(u32) {
|
||||
_: u13 = undefined,
|
||||
};
|
||||
|
||||
pub const FastMath = packed struct(u32) {
|
||||
pub const FastMath = packed struct(u8) {
|
||||
unsafe_algebra: bool = false, // Legacy
|
||||
nnan: bool = false,
|
||||
ninf: bool = false,
|
||||
nsz: bool = false,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user