[FAST-37] BigDecimal constructor for DecimalValue incorrectly sets the exponent Created: 20/Oct/11 Updated: 20/Oct/11 Resolved: 20/Oct/11 |
|
Status: | Resolved |
Project: | OpenFAST |
Component/s: | Types |
Affects Version/s: | 1.0.0 |
Fix Version/s: | 1.0.3 |
Type: | Bug | Priority: | Default |
Reporter: | Glyn Walters | Assignee: | Jacob Northey |
Resolution: | Fixed | Votes: | 0 |
Labels: | None |
Issue Links: |
|
Description |
BigDecimal constructor sets instance variables for exponent as: this.exponent = bigDecimal.scale(); The correct version should be inverted (as it is in the double constructor) this.exponent = - bigDecimal.scale(); |