Mercury Bugs - mercury | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0000454 | mercury | Bug | public | 2018-03-09 16:25 | 2018-03-13 14:19 |
Reporter | wangp | ||||
---|---|---|---|---|---|
Assigned To | wangp | ||||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000454: arith_int64 failure | ||||
Description | arith_int64 fails on Ubuntu 16.04 x86_64 gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) Mercury rotd 2018-03-07 --- arith_int64.out 2018-03-09 16:23:20.780057386 +1100 +++ arith_int64.exp 2018-02-03 23:05:01.000000000 +1100 @@ -17,20 +17,20 @@ *** Test unary operation '-' *** -- -9223372036854775808 = -9223372036841988320 -- -2147483648 = 2160271136 -- -64768 = 12852256 -- -128 = 12787616 -- 0 = 12787488 -- 1 = 12787487 -- 2 = 12787486 -- 8 = 12787480 -- 10 = 12787478 -- 16 = 12787472 -- 127 = 12787361 -- 64767 = 12722721 -- 2147483647 = -2134696159 -- 9223372036854775807 = -9223372036841988319 +- -9223372036854775808 = -9223372036854775808 +- -2147483648 = 2147483648 +- -64768 = 64768 +- -128 = 128 +- 0 = 0 +- 1 = -1 +- 2 = -2 +- 8 = -8 +- 10 = -10 +- 16 = -16 +- 127 = -127 +- 64767 = -64767 +- 2147483647 = -2147483647 +- 9223372036854775807 = -9223372036854775807 *** Test unary operation 'abs' *** @@ -56,15 +56,15 @@ nabs -64768 = -64768 nabs -128 = -128 nabs 0 = 0 -nabs 1 = 12787487 -nabs 2 = 12787486 -nabs 8 = 12787480 -nabs 10 = 12787478 -nabs 16 = 12787472 -nabs 127 = 12787361 -nabs 64767 = 12722721 -nabs 2147483647 = -2134696159 -nabs 9223372036854775807 = -9223372036841988319 +nabs 1 = -1 +nabs 2 = -2 +nabs 8 = -8 +nabs 10 = -10 +nabs 16 = -16 +nabs 127 = -127 +nabs 64767 = -64767 +nabs 2147483647 = -2147483647 +nabs 9223372036854775807 = -9223372036854775807 *** Test binary operation '+' *** | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | sgt_int64.m (276) 2018-03-09 18:02 https://bugs.mercurylang.org/file_download.php?file_id=279&type=bug bar_baz.m (759) 2018-03-13 06:14 https://bugs.mercurylang.org/file_download.php?file_id=280&type=bug |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2018-03-09 16:25 | wangp | New Issue | |||
2018-03-09 16:56 | wangp | Note Added: 0000968 | |||
2018-03-09 17:57 | wangp | Note Added: 0000970 | |||
2018-03-09 18:02 | wangp | File Added: sgt_int64.m | |||
2018-03-09 18:04 | wangp | Note Added: 0000971 | |||
2018-03-09 20:52 | zs | Note Added: 0000972 | |||
2018-03-09 20:52 | zs | Assigned To | => zs | ||
2018-03-09 20:52 | zs | Status | new => assigned | ||
2018-03-13 06:14 | zs | File Added: bar_baz.m | |||
2018-03-13 06:14 | zs | Note Added: 0000973 | |||
2018-03-13 11:21 | wangp | Note Added: 0000974 | |||
2018-03-13 14:19 | wangp | Assigned To | zs => wangp | ||
2018-03-13 14:19 | wangp | Status | assigned => resolved | ||
2018-03-13 14:19 | wangp | Resolution | open => fixed | ||
2018-03-13 14:19 | wangp | Note Added: 0000975 |