Feature request: Add define to change return value from double to long double
Opened this issue · 6 comments
Quick question: does Tinyexpr evaluate "Sum (expr)" ?
thank you
Quick question: does Tinyexpr evaluate "Sum (expr)" ? thank you
I don't understand what you're asking, or how it's related to this feature request.
my apologies. Is not related, However, I was not able to find such information.
Can you tell me if TinyExpr is able to evaluate summation, Σ (sigma) to calculate a sum of multiple terms?
thank you
Can you tell me if TinyExpr is able to evaluate summation, Σ (sigma) to calculate a sum of multiple terms?
No, not directly. You can do "term1 + term2 + term3". And it would be easy to add sigma, as it's easy to add any function.
my model is this one
Σ [ (Temp- (-10))*dtime ]
where Temp is a temperature variable and time is a delta time in hours
it would be awesome if tinyexpr was able to compute it
Check out the documentation at: https://github.com/codeplea/tinyexpr#binding-to-custom-functions
You can add in any custom function you like.