Thread overview | |||||
---|---|---|---|---|---|
|
August 28, 2010 [Issue 4742] New: int % BigInt should work | ||||
---|---|---|---|---|
| ||||
http://d.puremagic.com/issues/show_bug.cgi?id=4742 Summary: int % BigInt should work Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nobody@puremagic.com ReportedBy: dsimcha@yahoo.com --- Comment #0 from David Simcha <dsimcha@yahoo.com> 2010-08-27 17:14:08 PDT --- import std.bigint; void main() { BigInt i; auto foo = 1 % i; } test9.d(5): Error: incompatible types for ((1) % (i)): 'int' and 'BigInt' -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
August 28, 2010 [Issue 4742] int % BigInt should work | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=4742 --- Comment #1 from David Simcha <dsimcha@yahoo.com> 2010-08-27 17:36:20 PDT --- Add /, /= to the list, too. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
September 21, 2010 [Issue 4742] int % BigInt should work | ||||
---|---|---|---|---|
| ||||
Posted in reply to David Simcha | http://d.puremagic.com/issues/show_bug.cgi?id=4742 Don <clugdbug@yahoo.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |clugdbug@yahoo.com.au Resolution| |FIXED --- Comment #2 from Don <clugdbug@yahoo.com.au> 2010-09-20 19:02:41 PDT --- http://www.dsource.org/projects/phobos/changeset/2042 Fixes / and %. int /= BigInt and int %= BigInt can't be done with the new operator overloading -- there's no such thing as opopAssignRight(). I have created bug 4903 for that. -- 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