Files
calc/help
Landon Curt Noll bf730f5518 add cmappr() and missing complex tan, cot, sec, csc in liblcac
Added complex multiple approximation function to commath.c so
that users of libcalc may directly round complex number to
nearest multiple of a given real number:

    E_FUNC COMPLEX *cmappr(COMPLEX *c, NUMBER *e, long rnd, bool cfree);

For example:

    COMPLEX *c;             /* complex number to round to nearest epsilon */
    NUMBER *eps;            /* epsilon rounding precision */
    COMPLEX *res;           /* c rounded to nearest epsilon */
    long rnd = 24L;         /* a common rounding mode */
    bool ok_to_free;        /* true ==> free c, false ==> do not free c */

    ...

    res = cmappr(c, eps, ok_to_free);

The complex trigonometric functions tan, cot, sec, csc were implemented
in func.c as calls to complex sin and complex cos.  We added the
direct calls to comfunc.c so that users of libcalc may
call them directly:

    E_FUNC COMPLEX *c_tan(COMPLEX *c, NUMBER *eps);
    E_FUNC COMPLEX *c_cot(COMPLEX *c, NUMBER *eps);
    E_FUNC COMPLEX *c_sec(COMPLEX *c, NUMBER *eps);
    E_FUNC COMPLEX *c_cot(COMPLEX *c, NUMBER *eps);
2023-09-10 22:54:50 -07:00
..
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-03-27 05:55:50 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-06-07 14:11:07 -03:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 18:23:27 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2023-03-06 02:17:40 -08:00
2021-12-05 23:02:12 -08:00
2023-08-13 16:17:10 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-02-03 12:45:10 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2017-05-25 17:24:57 -07:00
2021-12-05 18:23:27 -08:00
2021-12-05 18:23:27 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-07 02:24:50 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 18:23:27 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-07 02:24:50 -08:00
2021-12-07 02:24:50 -08:00
2021-12-07 02:24:50 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2021-12-05 18:23:27 -08:00
2021-12-07 02:24:50 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2018-11-04 17:00:15 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00
2017-05-23 01:33:23 -07:00
2018-02-27 18:21:46 -08:00
2021-12-05 23:02:12 -08:00
2021-12-05 23:02:12 -08:00
2017-05-23 01:33:23 -07:00