| Summary: | Remove $Modulo from eglx.lang.EFloat.egl | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Kathy Carroll <carrollk> |
| Component: | EDT | Assignee: | Project Inbox <edt.language-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | pharmon |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
I have removed the validaiton check in DefaultBinder and verified that java and JS both support modulo with floats changed test scenario to
function tester() {@Test}
actual int = 2.539E3 % 2;
expected int = 1;
Logresult.assertBigIntEqual1(expected, actual);
end
validated works on java. unable to verify with javascript
verified with 20111111_0901 and closed
|
This code floatActual = 2.539E7 % 2; floatExpect = 1; results in this validation message IWN.VAL.5049.e 148/17 EFloat004 - The primitive type float for 2.539E7 is not valid for use with the % operator. Just like in RBD. So I think static function $Modulo(lvalue EFloat in, rvalue EFloat in) returns (EFloat) {@Operation{"%"}}; needs to be removed from eglx.lang.EFloat.egl