Rev 230 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 230 | Rev 237 | ||
---|---|---|---|
Line 120... | Line 120... | ||
120 | { //TODO: |
120 | { //TODO: |
121 | /* fmath_ld_union_t fmath_ld_union; |
121 | /* fmath_ld_union_t fmath_ld_union; |
122 | fmath_ld_union.bf = num; |
122 | fmath_ld_union.bf = num; |
123 | fmath_ld_union.ldd[7]=((fmath_ld_union.ldd[7])&0x7f)|(sign<<7); // change 64th bit (IA32 is a little endian) |
123 | fmath_ld_union.ldd[7]=((fmath_ld_union.ldd[7])&0x7f)|(sign<<7); // change 64th bit (IA32 is a little endian) |
124 | return fmath_ld_union.bf; |
124 | return fmath_ld_union.bf; |
125 | */ return 1.0 |
125 | */ return 1.0; |
126 | } |
126 | } |
127 | 127 | ||
128 | double fmath_abs(double num) |
128 | double fmath_abs(double num) |
129 | { //TODO: |
129 | { //TODO: |
130 | /* |
130 | /* |