Changeset 777 for soft/giet_vm/giet_libs/math/e_sqrt.c
- Timestamp:
- Feb 4, 2016, 6:25:22 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_libs/math/e_sqrt.c
r581 r777 93 93 int32_t sign = (int)0x80000000; 94 94 int32_t ix0,s0,q,m,t,i; 95 u _int32_t r,t1,s1,ix1,q1;95 uint32_t r,t1,s1,ix1,q1; 96 96 97 97 EXTRACT_WORDS(ix0,ix1,x); … … 168 168 if (z>=one) { 169 169 z = one+tiny; 170 if (q1==(u _int32_t)0xffffffff) { q1=0; q += 1;}170 if (q1==(uint32_t)0xffffffff) { q1=0; q += 1;} 171 171 else if (z>one) { 172 if (q1==(u _int32_t)0xfffffffe) q+=1;172 if (q1==(uint32_t)0xfffffffe) q+=1; 173 173 q1+=2; 174 174 } else
Note: See TracChangeset
for help on using the changeset viewer.