The real2int function (which is specified here: http://hakaru-dev.github.io/lang/coercions/) does not seem to be implemented ``` Name not in scope: real2int 30| return real2int(num/(den1*den2)) ^^^^^^^^ Perhaps it is a typo? ```
Activity
zaxtax commentedon Nov 21, 2017
mkhattab940 commentedon Nov 22, 2017
Thanks zaxtax. I was able to get it working. However, there seems to be rounding errors. How can I ensure I round to nearest integer?
zaxtax commentedon Nov 22, 2017