The feeling when you find the root cause for a problem that has been bothering you for months. And it turns out to be fixable by adding a single letter. (To turn an "unsigned long" literal into an "unsigned long long" one.) (Actually I made it use the UINT64_C() macro from <cstdint>.)
Writing portable code is hard. And thanks, Windows, for keeping "long" as 32 bits even in 64-bit code.
Now, if only Clang or gcc on Linux would warn about such po…
Protoplanetary Disk Survival Time-scales: A Blind Survey of Young Clusters up to 100 Myr in the Solar Vicinity
Gregory Mathews Ben, Jessy Jose, Jes\'us Hern\'andez
https://arxiv.org/abs/2507.01619