rcalc_lib 1.0.0

Mathematical expression calculation library
Documentation
rcalclib (1.0.0) unstable; urgency=medium

  * '**' and '^' are synonyms and both mean "raise to power", for bit-wise xor
    use '@'

  * Percentage operator priority lowered. Now it has the same priority as '+'
    and '-'

  * '%' works as percentage operator in some cases: when it is the last symbol
    in an expression or it is right before closing bracket or another operator
    'a + n %' = increase 'a' by 'n' percents
    'a - n %' = decrease 'a' by 'n' percents
    'a * n %' = calculate 'n' percents of 'a'
    'a / b %' = calculate how many percents is 'a' of 'b'

  * Clippy fixes and package upgrades

 -- Vladimir Markelov <vmatroskin@gmail.com>  Thu, 08 Jul 2021 18:55:24 -0700

rcalclib (0.9.3) unstable; urgency=medium

  * Sqrt for positive common fraction returns common fraction if possible

  * New function: solve(aliases: 'zeros' and 'roots') calculates roots of
    linear or quadratic eqaution. The result is the first root.

 -- Vladimir Markelov <vmatroskin@gmail.com>  Tue, 21 May 2019 19:41:51 -0700

rcalclib (0.9.2) unstable; urgency=medium

  * Fix raising negative float number into non-integer power degree

  * New function: gamma. The calculation is approximate, its accuracy for
    integer results that fit f64(argument < 20) is around +/- 0.000000001%

 -- Vladimir Markelov <vmatroskin@gmail.com>  Mon, 13 May 2019 20:22:51 -0700

rcalclib (0.9.1) unstable; urgency=medium

  * function ratio can create a common fraction from two integers: numerator
    and denominator. Example: ratio(2;5) = 2\5

  * functions min and max to return minimum and maximum value from the list of
    arbitrary length

  * functions avg to calculate average of a list of values

  * functions is_prime and next_prime: work only with integers and use naive
    algorithm that makes them slow for big numbers

  * functions hex, oct, and bin to print an integer in non-decimal format

 -- Vladimir Markelov <vmatroskin@gmail.com>  Sat, 04 May 2019 19:47:14 -0700

rcalclib (0.9.0) unstable; urgency=medium

  * New functions: fib(N-th Fibonacci number), cbrt(cubic root)

 -- Vladimir Markelov <vmatroskin@gmail.com>  Sat, 27 Apr 2019 20:19:29 -0700

rcalc (0.8.0) unstable; urgency=medium

  * First stable version

 -- Vladimir Markelov <vmatroskin@gmail.com>  Sat, 20 Apr 2019 23:33:19 -0700