Ignore:
Timestamp:
2015-09-04T08:15:13Z (9 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6f5766
Parents:
992ffa6
Message:

Add missing math exp(f), lg(f), pow(f) definitions for all architectures.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/math/arch/mips32/include/libarch/math.h

    r992ffa6 r01cdd5a  
    3737
    3838#include <ceil.h>
     39#include <exp.h>
    3940#include <floor.h>
     41#include <log.h>
    4042#include <mathtypes.h>
    4143#include <mod.h>
     44#include <pow.h>
    4245#include <trunc.h>
    4346#include <trig.h>
     
    7073}
    7174
     75static inline float32_t expf(float32_t val)
     76{
     77        return float32_exp(val);
     78}
     79
     80static inline float64_t exp(float64_t val)
     81{
     82        return float64_exp(val);
     83}
     84
    7285static inline float64_t floor(float64_t val)
    7386{
     
    7992       
    8093        return ret.val;
     94}
     95
     96static inline float32_t logf(float32_t val)
     97{
     98        return float32_log(val);
     99}
     100
     101static inline float64_t log(float64_t val)
     102{
     103        return float64_log(val);
     104}
     105
     106static inline float32_t powf(float32_t x, float32_t y)
     107{
     108        return float32_pow(x, y);
     109}
     110
     111static inline float64_t pow(float64_t x, float64_t y)
     112{
     113        return float64_pow(x, y);
    81114}
    82115
Note: See TracChangeset for help on using the changeset viewer.