Changeset 2cf5634 in mainline for arch/ia64/src/fmath.c


Ignore:
Timestamp:
2005-12-22T11:09:29Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7ae4443
Parents:
096d11e5
Message:

Make the kernel compile with -Wall.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/fmath.c

    r096d11e5 r2cf5634  
    4444double fmath_get_decimal_exponent(double num)
    4545{       //TODO:
    46         double value;
    47         // log10(2)*log2(x) => log10(x)
    48 /*      __asm__ __volatile__ ( \
    49         "fldlg2         #load log10(2)  \n\t"   \
    50         "fxch %%st(1)           \n\t" \
    51         "fyl2x          #count st(0)*log2(st(1))->st(1); pop st(0)      \n\t" \
    52         : "=t" (value) : "0"(num) );
    53 */      return value;
    54        
     46        return 0;       
    5547}
    5648
Note: See TracChangeset for help on using the changeset viewer.