Changeset 2f08a55d in mainline for arch/amd64/include/fmath.h


Ignore:
Timestamp:
2005-09-03T14:16:25Z (19 years ago)
Author:
Josef Cejka <malyzelenyhnus@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f6297e0
Parents:
544b4bf
Message:

Support for NaN and infinity in printf.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/include/fmath.h

    r544b4bf r2f08a55d  
    3535typedef union { double bf; unsigned char ldd[8]; }  fmath_ld_union_t;
    3636
    37 int fmath_is_negative(double num);
    38 //int fmath_is_exponent_negative(double num);
    39 
    4037/**returns exponent in binary encoding*/
    4138signed short fmath_get_binary_exponent(double num);
     
    5451double fmath_fint(double num, double *intp);
    5552
    56 /** Return absolute value from num */
    57 double fmath_abs(double num);
    58 
    59 double fmath_set_sign(double num,__u8 sign);
    60 
    6153/** count base^exponent from positive exponent
    6254* @param base
     
    6658double fmath_dpow(double base, double exponent) ;
    6759
     60/** return 1, if num is NaN */
     61int fmath_is_nan(double num);
     62
     63/** return 1, if fmath is a infinity */
     64int fmath_is_infinity(double num);
Note: See TracChangeset for help on using the changeset viewer.