On Wednesday, January 21, 2015 at 3:03:29 PM UTC-5, Alex Ames wrote: > > but that fails to explain why sin(x)*cos(x) (which integrates to zero > between both 0--pi and 0--2pi) runs fast for 0--pi and slow for 0--2pi. >
(It's purely a question of roundoff errors; if you get lucky and it gets an error that is exactly zero due to roundoff errors, then it will stop earlier.)