Skip to content

0.0.1

Compare
Choose a tag to compare
@erstan erstan released this 10 Aug 16:53
· 16 commits to e_t since this release

ceval-0.0.1

  • arithmetic operators
    { +, -, *, /, %, //, `** }

  • relational operators
    { ==, !=, <, >, <=, >= }

  • logical operators
    { &&, || and ! }

  • bitwise operators
    { &, |, ^, <<, >>, ~ }

  • other operators
    { , (comma operator), e (for scientific notation) }

  • functions
    { exp(), sqrt(), cbrt(), sin(), cos(), tan(), asin(), acos(), atan(), sinh(), cosh(), tanh(), abs(), ceil(), floor(), log10(), ln(), deg2rad(), rad2deg(), signum(), int(), frac(), fact(), pow(), atan2(), gcd(), hcf(), lcm(), log() }

  • pre-defined math constants
    { _pi, _e }
    ...math constants are prefixed with an underscore