adletec / sonic

sonic is a rapid evaluation engine for mathematical expressions. It can parse and execute strings containing mathematical expressions.
MIT License
16 stars 4 forks source link

Documentation Improvements #52

Open EddyHaigh opened 9 months ago

EddyHaigh commented 9 months ago

It would be good to expand on the documentation to understand more about how to use the conditionals like AND along with dealing with NaN and Infinite values.

vlow commented 9 months ago

Do you have any specific examples you'd like to see covered?

EddyHaigh commented 9 months ago

Mainly just examples of using boolean logic like

A == 0 && B == 0

I can add my own functions for dealing with and representing infinity if needed but would be good to maybe note down something about NaN etc.