Opened 10 years ago

Closed 10 years ago

#23 closed defect (fixed)

Fix java.lang.Math functions

Reported by: dmik Owned by:
Priority: blocker Milestone: Alpha
Component: general Version:
Severity: Keywords:


Functions such as pow() return garbage on OS/2.

Change History (1)

comment:1 Changed 10 years ago by dmik

Resolution: fixed
Status: newclosed

It turned out that fdlibm.lib was built using wrong endianness on OS/2 (due to the lack of the _LITTLE_ENDIAN define). Also, math functions are not compatible with the optimization based on strict aliasing so I had to disable it.

The primary issue is fixed in r165:166.

Note: See TracTickets for help on using tickets.