Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362727

Summary: Exception on MathLib.ldexp
Product: z_Archived Reporter: broy2
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description broy2 CLA 2011-11-02 17:12:58 EDT
Use EUNIT to run:

library ldexp
    function ldexp(){@Test}
        result decimal(18, 6);
        decimalX decimal = 000000000010.000000;
        exp int = 2;
        try
            result = mathLib.ldexp(decimalX, exp);
        onException(oops AnyException)
            LogResult.failed("Exception");
            exit;
        end
        LogResult.assertDecimalEqual("ldexp", 40.0000000, result);
    end
end

When debugging, I see:
eglx.javascript.JavaScriptObjectException egl.eglx.lang.MathLib.ldexp is not a function
Comment 1 broy2 CLA 2011-11-21 15:50:00 EST
Fixed in 20111121 build.
Comment 2 broy2 CLA 2011-11-21 15:50:14 EST
Verified.