ram6ler / function-tree

A simple dart library for parsing strings into callable function-trees.
MIT License
23 stars 11 forks source link

Ceil and Log function. #9

Closed Arfeen-Yousuf closed 1 year ago

Arfeen-Yousuf commented 1 year ago

Functions such as ceil and floor are not working and log is returning the natural log instead of base 10. Thanks in advance.

ram6ler commented 1 year ago

Hi,

Thanks for your interest in this library.

Could you give an example of ceil and floor not working?

Regarding the log issue, please see this issue.

Arfeen-Yousuf commented 1 year ago

The problem was on my end. ceil anf floor were returning an int which I was casting to a double type.

ram6ler commented 1 year ago

Glad to hear it's sorted out.