h3rald / min

A small but practical concatenative programming language and shell
https://min-lang.org
MIT License
311 stars 23 forks source link

Floor VS Trunc #74

Closed ghost closed 3 years ago

ghost commented 3 years ago

floor

numint

Returns the largest integer int that is not greater than num.


This is not true it does not returns int. And it is same of trunc.

h3rald commented 3 years ago

You are right, and ceil returns a float as well... I'll fix it in the next release.

h3rald commented 3 years ago

Fixed in v0.29.0