Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2019-10

FPC_CURRENCY_IS_INT64

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

LacaK

Hi,

what is the meaning of this compiler define?
I am expecting, that Currency datatype is internaly stored using Int64 datatype (*10000).
This compiler define is set for Win64, but not for Win32. Does it means, that on Win32 there is Currency internaly represented using another data type?

TIA

-Laco.

Reply by email

Sven Barth
to LacaK

LacaK schrieb am Mo., 14. Okt. 2019, 11:08:

Show quoted text 9 lines
Hi, what is the meaning of this compiler define? I am expecting, that Currency datatype is internaly stored using Int64 datatype (*10000). This compiler define is set for Win64, but not for Win32. Does it means, that on Win32 there is Currency internaly represented using another data type?

Correct. On all non-Win64 x86 systems the Currency type is a FPU based type. On non-x86 systems the Currency type is represented internally by a Int64 as well.

Regards,
Sven

Reply by email