Opened 16 years ago

Closed 16 years ago

#13 closed defect (fixed)

Japanese datum shift test fails under Linux.

Reported by: Norm Olsen Owned by: hugueswski
Priority: minor Milestone:
Component: Library Version:
Keywords: Cc:

Description

Test cases of the Japanese datum shift (Tokyo <-> JGD2000) pass with flying colors in the Windows environment, but fail in the Linux environment. The apparent difference is rather small, so this is given a 'minor' priority.

Change History (1)

comment:1 by Norm Olsen, 16 years ago

Resolution: fixed
Status: newclosed

It appears that the round-off that occurs when converting a negative real to a 32 bit integer is different between the Microsoft VC++ compiler/CRT and the gcc compiler/CRT. The real values were adjusted slightly prior to the conversion to force the required results on the conversion.

Note: See TracTickets for help on using tickets.