Adriandmen / 05AB1E

A concise stack-based golfing language
MIT License
760 stars 48 forks source link

`₅` within the recursive environment doesn't truncate decimals like other builtins that take integer arguments #195

Open kcruijss opened 2 years ago

kcruijss commented 2 years ago

Almost all 05AB1E builtins that require integer arguments, will truncate decimal values when given instead, which is a great feature. Unfortunately, a(x) (and a(n-x) as well) within the recursive environment doesn't seem to do this.

Try it online to reproduce.
Try it online with ï as workaround for the intended result.
Found in this codegolf answer of mine.