Changeset b69786e in mainline for uspace/lib/math/generic/fmod.c


Ignore:
Timestamp:
2015-09-17T16:16:25Z (9 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.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • 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
Note: See TracChangeset for help on using the changeset viewer.