Hi Bearophile- Interesting. Looks like the run-time calculation in ldmd2 works fine. The compile-time computation in both my and your examples looks like it is being done in 80-bit arithmetic. Thanks, --Apollo