nielsAD / lape

Scripting engine with Pascal-like syntax for FPC and Delphi
118 stars 28 forks source link

Use x64 integer promotion #197

Closed ollydev closed 8 months ago

ollydev commented 8 months ago

Previously x32 integer promotion was used, such as (1000 * 60 * 60 * 24 * 365) would be evalulated into a int32 and overflow. Now it's always x64 integer promotion.

(I just ran _lpgenerateevalfunctions.pas in 64bit).