Skip to content

decimal128_t fails addition edge cases that 32 and 64 do not #1260

@mborland

Description

@mborland

In the edge cases this fails at 128-bit:

dqadd71310 add 1E34  -0.51                ->  9999999999999999999999999999999999 

But the equivalent at 64-bits runs just fine:

ddadd71310 add 1E16  -0.51                ->  9999999999999999      Inexact Rounded

Metadata

Metadata

Assignees

Labels

BugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions