Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362719 - mathLib.abs of float variable doesn't work
Summary: mathLib.abs of float variable doesn't work
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-02 16:05 EDT by broy2 CLA
Modified: 2017-02-23 14:20 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description broy2 CLA 2011-11-02 16:05:58 EDT
Use EUNIT to run:

library absFloat
    myFloat float = -999.99;
    function absFloat(){@Test}
        myFloat = mathLib.abs(myFloat);
        LogResult.assertDecimalEqual("absFloat", 999.99, myFloat);
    end
end

When debugging, the value of myFloat doesn't change from -999.99 to 999.99.
Comment 1 broy2 CLA 2011-11-18 14:20:35 EST
Working in 20111118 build.
Comment 2 broy2 CLA 2011-11-18 14:20:46 EST
Verified.