Changes between Version 3 and Version 4 of research/trig
 Timestamp:
 Oct 10, 2011, 1:39:38 AM (9 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

research/trig
v3 v4 54 54 #!cpp 55 55 56 static real myfun(real const & x)56 static real myfun(real const &y) 57 57 { 58 real y = sqrt(x);59 return (sin( y)  y) / (x * y);58 real x = sqrt(y); 59 return (sin(x)  x) / (x * y); 60 60 } 61 61 62 static real myerr(real const & x)62 static real myerr(real const &y) 63 63 { 64 return re( x * sqrt(x));64 return re(y * sqrt(y)); 65 65 } 66 66