Allow fixed-point constants to have unsigned range (#1084)

For example with Q.4, $F0 is 15.0, which no longer warns
This commit is contained in:
Rangi
2022-10-01 17:32:34 -04:00
committed by GitHub
parent a1107fc5cf
commit 106ad30e5a
5 changed files with 30 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
warning: opt-Q.asm(10) -> opt-Q.asm::REPT~1(12) -> opt-Q.asm::test(5): [-Wlarge-constant]
Magnitude of fixed-point constant is too large
error: opt-Q.asm(17) -> opt-Q.asm::test(3):
Argument for option 'Q' must be between 1 and 31
error: opt-Q.asm(18) -> opt-Q.asm::test(3):