Bug 13794 – Vector operations with bigints too

Status
NEW
Severity
enhancement
Priority
P4
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2014-11-29T13:21:59Z
Last change time
2024-12-01T16:23:06Z
Assigned to
No Owner
Creator
bearophile_hugs
Moved to GitHub: phobos#10102 →

Comments

Comment #0 by bearophile_hugs — 2014-11-29T13:21:59Z
I think this code should work (and be replaced by a loop by the front-end): void main() { import std.bigint; BigInt[2] a; a[] += a[]; } dmd 2.067alpha: test.d(4,9): Error: invalid array operation 'a[] += a[]' because BigInt doesn't support necessary arithmetic operations
Comment #1 by robert.schadek — 2024-12-01T16:23:06Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/phobos/issues/10102 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB