Changeset a3c6a85 in mainline


Ignore:
Timestamp:
2018-09-01T09:16:30Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
78fd6ef
Parents:
be34d6f
Message:

Document sincos() and sincosf().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/math/generic/trig.c

    rbe34d6f ra3c6a85  
    371371}
    372372
     373/**
     374 * Computes sine and cosine at the same time, which might be more efficient than
     375 * computing each separately.
     376 *
     377 * @param x  Input value.
     378 * @param s  Output sine value, *s = sinf(x).
     379 * @param c  Output cosine value, *c = cosf(x).
     380 */
    373381void sincosf(float x, float *s, float *c)
    374382{
     
    384392}
    385393
     394/**
     395 * Computes sine and cosine at the same time, which might be more efficient than
     396 * computing each separately.
     397 *
     398 * @param x  Input value.
     399 * @param s  Output sine value, *s = sin(x).
     400 * @param c  Output cosine value, *c = cos(x).
     401 */
    386402void sincos(double x, double *s, double *c)
    387403{
Note: See TracChangeset for help on using the changeset viewer.