January 31, 2013 [Issue 9432] New: Some missing bitwise BigInt operators | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=9432 Summary: Some missing bitwise BigInt operators Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: bearophile_hugs@eml.cc --- Comment #0 from bearophile_hugs@eml.cc 2013-01-31 02:15:10 PST --- import std.bigint: BigInt; void main() { BigInt a = 100; uint b = 200; a |= b; BigInt c = 200; a |= c; a = a | c; } DMD 2.062alpha: test.d(5): Error: 'a |= b' is not a scalar, it is a BigInt test.d(5): Error: incompatible types for ((a) |= (b)): 'BigInt' and 'uint' test.d(7): Error: 'a |= c' is not a scalar, it is a BigInt test.d(7): Error: 'a' is not of integral type, it is a BigInt test.d(7): Error: 'c' is not of integral type, it is a BigInt test.d(8): Error: 'a' is not of integral type, it is a BigInt test.d(8): Error: 'c' is not of integral type, it is a BigInt -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
February 01, 2013 [Issue 9432] Some missing bitwise BigInt operators | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile_hugs@eml.cc | http://d.puremagic.com/issues/show_bug.cgi?id=9432 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Don <clugdbug@yahoo.com.au> 2013-02-01 00:17:34 PST --- *** This issue has been marked as a duplicate of issue 9061 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation