Commit b9997eb
Fix a floatround bug (#376)
* Fix floatround overflow
floatround would overflow for floats greater than 2^30 because internally
it would double the number (therefore anything greater than 2^30 results
in something greater than 2^31 which would cause overflow of course)
floatround behaviour is left exactly identical otherwise (although I find
it very weird and wrong to deliberately avoid banker's rounding, it would
be a bad idea to change this behaviour due to compatibility)
Remember to reassemble amxexecn and amxjitsn
* Update the compiled object files1 parent a53e790 commit b9997eb
File tree
8 files changed
+17
-21
lines changed- amxmodx
- JIT
8 files changed
+17
-21
lines changedBinary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1480 | 1480 | | |
1481 | 1481 | | |
1482 | 1482 | | |
1483 | | - | |
| 1483 | + | |
1484 | 1484 | | |
1485 | 1485 | | |
1486 | 1486 | | |
| |||
1492 | 1492 | | |
1493 | 1493 | | |
1494 | 1494 | | |
1495 | | - | |
1496 | | - | |
| 1495 | + | |
1497 | 1496 | | |
1498 | 1497 | | |
1499 | 1498 | | |
1500 | 1499 | | |
1501 | | - | |
1502 | | - | |
1503 | | - | |
1504 | | - | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
1505 | 1504 | | |
1506 | | - | |
1507 | | - | |
1508 | | - | |
1509 | | - | |
| 1505 | + | |
1510 | 1506 | | |
| 1507 | + | |
| 1508 | + | |
1511 | 1509 | | |
1512 | 1510 | | |
1513 | 1511 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1979 | 1979 | | |
1980 | 1980 | | |
1981 | 1981 | | |
1982 | | - | |
1983 | | - | |
| 1982 | + | |
1984 | 1983 | | |
1985 | 1984 | | |
1986 | 1985 | | |
1987 | 1986 | | |
1988 | | - | |
1989 | | - | |
1990 | | - | |
1991 | | - | |
| 1987 | + | |
| 1988 | + | |
| 1989 | + | |
| 1990 | + | |
1992 | 1991 | | |
1993 | | - | |
1994 | | - | |
1995 | | - | |
1996 | | - | |
| 1992 | + | |
1997 | 1993 | | |
| 1994 | + | |
| 1995 | + | |
1998 | 1996 | | |
1999 | 1997 | | |
2000 | 1998 | | |
| |||
0 commit comments