Changeset e6f5766 in mainline for uspace/lib/math/arch/ia32/include


Ignore:
Timestamp:
2015-09-05T10:11:40Z (10 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9adb61d
Parents:
01cdd5a
Message:

Use floatN_t types in generic function interfaces.

File:
1 edited

Legend:

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

    r01cdd5a re6f5766  
    5454static inline float64_t ceil(float64_t val)
    5555{
    56         float64_u arg;
    57         arg.val = val;
    58        
    59         float64_u ret;
    60         ret.data = ceil_float64(arg.data);
    61        
    62         return ret.val;
     56        return float64_ceil(val);
    6357}
    6458
    6559static inline float64_t floor(float64_t val)
    6660{
    67         float64_u arg;
    68         arg.val = val;
    69        
    70         float64_u ret;
    71         ret.data = floor_float64(arg.data);
    72        
    73         return ret.val;
     61        return float64_floor(val);
    7462}
    7563
Note: See TracChangeset for help on using the changeset viewer.