visit-dav / visit

VisIt - Visualization and Data Analysis for Mesh-based Scientific Data
https://visit.llnl.gov
BSD 3-Clause "New" or "Revised" License
406 stars 110 forks source link

Add modulus operator to expression language #19622

Open JustinPrivitera opened 2 weeks ago

JustinPrivitera commented 2 weeks ago

This is already here as a function. Should we add it as an operator?

markcmiller86 commented 6 days ago

@JustinPrivitera do you mean to add a mathematical operator as in adding the % binary operator to the expression system or do you mean a VisIt Operator. Now that I am re-reading this, I think you mean add the % binary operator to the expression system.

That would be fine. I wonder why we didn't do it that way to begin with. At some point, the % character might have been used for another purpose.

JustinPrivitera commented 5 days ago

add the % binary operator to the expression system

yes, this. @cyrush asked me to open this ticket.