Changeset a3c6a85 in mainline
- Timestamp:
- 2018-09-01T09:16:30Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 78fd6ef
- Parents:
- be34d6f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/math/generic/trig.c
rbe34d6f ra3c6a85 371 371 } 372 372 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 */ 373 381 void sincosf(float x, float *s, float *c) 374 382 { … … 384 392 } 385 393 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 */ 386 402 void sincos(double x, double *s, double *c) 387 403 {
Note:
See TracChangeset
for help on using the changeset viewer.