mirror of
https://github.com/ziglang/zig.git
synced 2026-02-12 20:37:54 +00:00
zig fmt: float literal with exponent
This commit is contained in:
parent
0b4bb9b84f
commit
3e960cfffe
@ -1435,14 +1435,15 @@ test "zig fmt: nosuspend block" {
|
||||
// \\
|
||||
// );
|
||||
//}
|
||||
//test "zig fmt: float literal with exponent" {
|
||||
// try testCanonical(
|
||||
// \\pub const f64_true_min = 4.94065645841246544177e-324;
|
||||
// \\const threshold = 0x1.a827999fcef32p+1022;
|
||||
// \\
|
||||
// );
|
||||
//}
|
||||
//
|
||||
|
||||
test "zig fmt: float literal with exponent" {
|
||||
try testCanonical(
|
||||
\\pub const f64_true_min = 4.94065645841246544177e-324;
|
||||
\\const threshold = 0x1.a827999fcef32p+1022;
|
||||
\\
|
||||
);
|
||||
}
|
||||
|
||||
//test "zig fmt: if-else end of comptime" {
|
||||
// try testCanonical(
|
||||
// \\comptime {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user