| ... | ... | @@ -1,5 +1,6 @@ |
| 1 | 1 | const builtin = @import("builtin"); |
| 2 | 2 | const std = @import("std.zig"); |
| 3 | const float = @import("math/float.zig"); |
| 3 | 4 | const assert = std.debug.assert; |
| 4 | 5 | const mem = std.mem; |
| 5 | 6 | const testing = std.testing; |
| ... | ... | @@ -43,19 +44,19 @@ pub const rad_per_deg = 0.017453292519943295769236907684886127134428718885417254 |
| 43 | 44 | /// 180.0/pi |
| 44 | 45 | pub const deg_per_rad = 57.295779513082320876798154814105170332405472466564321549160243861; |
| 45 | 46 | |
| 46 | | pub const floatExponentBits = @import("math/float.zig").floatExponentBits; |
| 47 | | pub const floatMantissaBits = @import("math/float.zig").floatMantissaBits; |
| 48 | | pub const floatFractionalBits = @import("math/float.zig").floatFractionalBits; |
| 49 | | pub const floatExponentMin = @import("math/float.zig").floatExponentMin; |
| 50 | | pub const floatExponentMax = @import("math/float.zig").floatExponentMax; |
| 51 | | pub const floatTrueMin = @import("math/float.zig").floatTrueMin; |
| 52 | | pub const floatMin = @import("math/float.zig").floatMin; |
| 53 | | pub const floatMax = @import("math/float.zig").floatMax; |
| 54 | | pub const floatEps = @import("math/float.zig").floatEps; |
| 55 | | pub const floatEpsAt = @import("math/float.zig").floatEpsAt; |
| 56 | | pub const inf = @import("math/float.zig").inf; |
| 57 | | pub const nan = @import("math/float.zig").nan; |
| 58 | | pub const snan = @import("math/float.zig").snan; |
| 47 | pub const floatExponentBits = float.floatExponentBits; |
| 48 | pub const floatMantissaBits = float.floatMantissaBits; |
| 49 | pub const floatFractionalBits = float.floatFractionalBits; |
| 50 | pub const floatExponentMin = float.floatExponentMin; |
| 51 | pub const floatExponentMax = float.floatExponentMax; |
| 52 | pub const floatTrueMin = float.floatTrueMin; |
| 53 | pub const floatMin = float.floatMin; |
| 54 | pub const floatMax = float.floatMax; |
| 55 | pub const floatEps = float.floatEps; |
| 56 | pub const floatEpsAt = float.floatEpsAt; |
| 57 | pub const inf = float.inf; |
| 58 | pub const nan = float.nan; |
| 59 | pub const snan = float.snan; |
| 59 | 60 | |
| 60 | 61 | /// Performs an approximate comparison of two floating point values `x` and `y`. |
| 61 | 62 | /// Returns true if the absolute difference between them is less or equal than |