| Summary: | Exception on mathLib.precision | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | broy2 |
| Component: | EDT | Assignee: | Project Inbox <edt.javascriptgen-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed in 20111121 build. Verified. |
Use EUNIT to run: library precision decimal31 decimal(31, 3); resultInt int; mySmallInt smallInt = -12345; myInt int = -345678; myBigInt bigInt = -98765; mySmallFloat smallFloat = -5.0; myFloat float = -999.99; function precisionSmallInt(){@Test} resultInt = mathLib.precision(mySmallInt); LogResult.assertBigIntEqual("precisionSmallInt", 4, resultInt); end function precisionInt(){@Test} resultInt = mathLib.precision(myInt); LogResult.assertBigIntEqual("precisionInt", 9, resultInt); end function precisionBigInt(){@Test} resultInt = mathLib.precision(myBigInt); LogResult.assertBigIntEqual("precision19", 18, resultInt); end function precisionFloat(){@Test} resultInt = mathLib.precision(myFloat); LogResult.assertBigIntEqual("precisionFloat", 15, resultInt); end function precisionSmallFloat1(){@Test} resultInt = mathLib.precision(mySmallFloat); LogResult.assertBigIntEqual("precisionSmallFloat", 6, resultInt); end end When debugging, I see the following exception for each mathLib.precision eglx.javascript.JavaScriptObjectException x.eze$$signature is undefined This looks like 362728 but with different types.