We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0039176 commit 56295f9Copy full SHA for 56295f9
theories/Data/Char.v
@@ -64,7 +64,7 @@ Definition digit2ascii (n:nat) : Ascii.ascii :=
64
| 7 => "7"
65
| 8 => "8"
66
| 9 => "9"
67
- | n => ascii_of_nat (n - 9 + nat_of_ascii "A")
+ | n => ascii_of_nat (n - 10 + nat_of_ascii "A")
68
end%char.
69
70
Definition chr_newline : ascii :=
0 commit comments