mirror of
https://github.com/Mercury-Language/mercury.git
synced 2025-12-11 11:53:51 +00:00
library/private_builtin.m:
As above. The code recognizing them as builtins was added a few weeks ago.
configure.ac:
Require the installed compiled to contain that code.
compiler/options.m:
Provide a way to test whether the compiler has *this* diff.
library/int.m:
Delete int.unsigned_lt, and use private_builtin.unsigned_lt instead.
tests/hard_coded/unsigned_lt_le.{m,exp}:
A test case for the two operations.
tests/hard_coded/Mmakefile:
Enable the new test case.
19 lines
963 B
Plaintext
19 lines
963 B
Plaintext
ffffffffffffffd6 unsigned_lt ffffffffffffffd6 = false
|
|
ffffffffffffffd6 unsigned_le ffffffffffffffd6 = true
|
|
ffffffffffffffd6 unsigned_lt 2a = false
|
|
ffffffffffffffd6 unsigned_le 2a = false
|
|
ffffffffffffffd6 unsigned_lt 12 = false
|
|
ffffffffffffffd6 unsigned_le 12 = false
|
|
2a unsigned_lt ffffffffffffffd6 = true
|
|
2a unsigned_le ffffffffffffffd6 = true
|
|
2a unsigned_lt 2a = false
|
|
2a unsigned_le 2a = true
|
|
2a unsigned_lt 12 = false
|
|
2a unsigned_le 12 = false
|
|
12 unsigned_lt ffffffffffffffd6 = true
|
|
12 unsigned_le ffffffffffffffd6 = true
|
|
12 unsigned_lt 2a = true
|
|
12 unsigned_le 2a = true
|
|
12 unsigned_lt 12 = false
|
|
12 unsigned_le 12 = true
|