Changeset b69786e in mainline for uspace/lib/math/generic


Ignore:
Timestamp:
2015-09-17T16:16:25Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b23d05
Parents:
ba8eecf
Message:

Add all functions required by C89 plus their single-precision variants from C99.

Location:
uspace/lib/math/generic
Files:
14 added
2 edited
1 moved

Legend:

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

    rba8eecf rb69786e  
    3636#include <exp.h>
    3737#include <math.h>
    38 #include <trunc.h>
    3938
    4039#define TAYLOR_DEGREE_32 13
  • uspace/lib/math/generic/fmod.c

    rba8eecf rb69786e  
    3333 */
    3434
     35#include <fmod.h>
    3536#include <math.h>
    36 #include <mod.h>
    3737
    3838/** Remainder function (32-bit floating point)
     
    5252 *
    5353 */
    54 float32_t float32_mod(float32_t dividend, float32_t divisor)
     54float32_t float32_fmod(float32_t dividend, float32_t divisor)
    5555{
    5656        // FIXME: replace with exact arithmetics
     
    7777 *
    7878 */
    79 float64_t float64_mod(float64_t dividend, float64_t divisor)
     79float64_t float64_fmod(float64_t dividend, float64_t divisor)
    8080{
    8181        // FIXME: replace with exact arithmetics
  • uspace/lib/math/generic/pow.c

    rba8eecf rb69786e  
    3434 */
    3535
    36 #include <exp.h>
    37 #include <log.h>
    3836#include <math.h>
    3937#include <pow.h>
Note: See TracChangeset for help on using the changeset viewer.