Skip to content

Commit 893dbf3

Browse files
committed
Use POWER_33 for values past 'Q'
1e33 made values use "1000 Q" on i386.
1 parent 420eca9 commit 893dbf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unit.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ unit_cstring (Unit *unit)
436436
return output;
437437
}
438438

439-
if (v_abs >= 1e33) {
439+
if (v_abs >= POWER_33) {
440440
// do nothing
441441
} else if (v_abs >= POWER_30) {
442442
prefix = "Q"; factor = 1e-30;

0 commit comments

Comments
 (0)