curiousdannii-testing / inform7-imported-bugs

0 stars 0 forks source link

[I7-1931] [Mantis 1967] Gibberish on printing -2147483648 (smallest Glulx number) #153

Closed curiousdannii-testing closed 2 years ago

curiousdannii-testing commented 2 years ago

Reported by : MattD

Description :

Section 15.2 of Inform manual states that the smallest number represented in Glulx is -2147483648, yet the code supplied prints gibberish. (-2147483647 is printed correctly.)

Steps to reproduce :

When play begins:
    let n be -2147483648;
    say "n=[n].";

Additional information :

imported from: [Mantis 1967] Gibberish on printing -2147483648 (smallest Glulx number)
  • status: Closed
  • resolution: Resolved
  • resolved: 2022-04-07T05:01:59+10:00
  • imported: 2022/01/10
curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by DavidK :
Test case works in Glulxe, but not Git, so this is probably a bug in the Git interpreter.

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by DavidK :
This is definitely a bug in Git: https://github.com/DavidKinder/Git/issues/8

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by DavidK :
Fixed with the release of Git 1.3.5

curiousdannii-testing commented 2 years ago

557058:4c095ffd-6d6f-47ce-9e73-77c613347b86:

Comment by zarf :
I've updated the Glulxercise test (http://eblong.com/zarf/glulx/glulxercise.ulx) to test this case.