Neat-Lang / neat

The Neat Language compiler. Early beta?
BSD 3-Clause "New" or "Revised" License
110 stars 9 forks source link

cast double to long #74

Closed unereal closed 2 weeks ago

unereal commented 3 weeks ago
    auto y = 1718271963.0;
    auto z = cast(long) y;
    print("$(y), $(z)");

prints 1718271963.000000, 4744993762961260544

FeepingCreature commented 2 weeks ago

should be fixed now!