Changeset 3b23d05 in mainline for uspace/lib/math/include


Ignore:
Timestamp:
2015-09-17T16:21:28Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c7b9c5d6
Parents:
996dc042 (diff), b69786e (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge math library improvements.

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

Legend:

Unmodified
Added
Removed
  • uspace/lib/math/include/fmod.h

    r996dc042 r3b23d05  
    3333 */
    3434
    35 #ifndef LIBMATH_MOD_H_
    36 #define LIBMATH_MOD_H_
     35#ifndef LIBMATH_FMOD_H_
     36#define LIBMATH_FMOD_H_
    3737
    38 extern float32_t float32_mod(float32_t, float32_t);
    39 extern float64_t float64_mod(float64_t, float64_t);
     38#include <mathtypes.h>
     39
     40extern float32_t float32_fmod(float32_t, float32_t);
     41extern float64_t float64_fmod(float64_t, float64_t);
    4042
    4143#endif
  • uspace/lib/math/include/math.h

    r996dc042 r3b23d05  
    11/*
    22 * Copyright (c) 2011 Petr Koupy
     3 * Copyright (c) 2015 Jiri Svoboda
    34 * All rights reserved.
    45 *
     
    3839#include <libarch/math.h>
    3940
     41#define M_LN10 2.30258509299404568402
    4042#define M_LN2 0.69314718055994530942
    4143#define M_LOG2E 1.4426950408889634074
    4244#define M_PI 3.14159265358979323846
     45#define M_PI_2 1.57079632679489661923
    4346
    4447#endif
Note: See TracChangeset for help on using the changeset viewer.