Changeset ff381a7 in mainline for uspace/lib/math/include


Ignore:
Timestamp:
2015-11-02T20:54:19Z (11 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/fix-logger-deadlock, topic/msim-upgrade, topic/simplify-dev-export
Children:
d8513177
Parents:
3feeab2 (diff), 5265eea4 (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 mainline changes.

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

Legend:

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

    r3feeab2 rff381a7  
    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 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);
    3942
    4043#endif
  • uspace/lib/math/include/math.h

    r3feeab2 rff381a7  
    11/*
    22 * Copyright (c) 2011 Petr Koupy
     3 * Copyright (c) 2015 Jiri Svoboda
    34 * All rights reserved.
    45 *
     
    3839#include <libarch/math.h>
    3940
    40 #define M_PI  3.14159265358979323846
     41#define M_LN10 2.30258509299404568402
     42#define M_LN2 0.69314718055994530942
     43#define M_LOG2E 1.4426950408889634074
     44#define M_PI 3.14159265358979323846
     45#define M_PI_2 1.57079632679489661923
    4146
    4247#endif
  • uspace/lib/math/include/trig.h

    r3feeab2 rff381a7  
    3636#define LIBMATH_TRIG_H_
    3737
     38#include <mathtypes.h>
     39
     40extern float32_t float32_sin(float32_t);
    3841extern float64_t float64_sin(float64_t);
     42extern float32_t float32_cos(float32_t);
    3943extern float64_t float64_cos(float64_t);
    4044
  • uspace/lib/math/include/trunc.h

    r3feeab2 rff381a7  
    3838#include <mathtypes.h>
    3939
    40 extern float64 trunc_float64(float64);
     40extern float32_t float32_trunc(float32_t);
     41extern float64_t float64_trunc(float64_t);
    4142
    4243#endif
Note: See TracChangeset for help on using the changeset viewer.