Opened 9 years ago

Closed 9 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:
Cc:

Description

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

Change History (1)

comment:1 Changed 9 years ago by dmik

  • Resolution set to fixed
  • Status changed from new to closed

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.