Different implicit typecasting with different backends
Posted: Fri Jul 28, 2023 3:15 pm
I have not done any systematic research. This is just an example that I stumbled across.
Note: Using Round() yields consistent results.
Code: Select all
; tested with PB 6.03 beta 3 (x64)
Define a.d, b.q
a = 2451544.5000115740113
b = (a - 2440587.5) * 86400
Debug b ; ASM backend (Windows 11 and Linux Mint 20.3): 946684801
; C backend (Windows 11 and Linux Mint 20.3): 946684800
Note: Using Round() yields consistent results.