Skip to content

Commit 3d55155

Browse files
committed
Merge branch 'binaryLiterals' of github.com:Sporarum/dotty into binaryLiterals
2 parents 08f74ca + 67568bf commit 3d55155

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/run/binaryLiterals.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def Test =
5555
assert(0b1111_1111_1111_1111__1111_1111_1111_1111 == -1)
5656

5757
// Randomly generated using https://numbergenerator.org/random-32-bit-binary-number#!numbers=10&length=32&addfilters=
58-
// Converted to sined decimal using https://onlinetoolz.net/unsigned-signed#base=2&bits=32
58+
// Converted to signed decimal using https://onlinetoolz.net/unsigned-signed#base=2&bits=32
5959
assert(0b0110_1000_1100_0101_0010_1100_0100_0011 == 1757752387)
6060
assert(0b1111_0101_0100_1011_0101_1000_0011_0110 == -179611594)
6161
assert(0b0000_0011_0000_1010_1010_0011_0000_0000 == 51028736)

0 commit comments

Comments
 (0)