 Timestamp:
 Feb 2, 2013, 7:28:31 PM (7 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/src/math/real.cpp
r2317 r2322 764 764 } 765 765 766 static real fast_fact( int x)766 static real fast_fact(unsigned int x) 767 767 { 768 768 real ret = real::R_1(); 769 int i = 1, multiplier = 1, exponent = 0;769 unsigned int i = 1, multiplier = 1, exponent = 0; 770 770 771 771 for (;;) … … 775 775 return ldexp(ret * multiplier, exponent); 776 776 777 int tmp = i;777 unsigned int tmp = i; 778 778 while ((tmp & 1) == 0) 779 779 {
Note: See TracChangeset
for help on using the changeset viewer.