Uros, > However, the argument to fsin can be reduced to an > acceptable range by using fmod builtin. Internally, this > builtin is implemented as a very tight loop that check for > insufficient reduction, and could reduce whatever finite > value one wishes.
Keep in mind that x87 transcendentals are not the most accurate around, but all x86 processors from any manufacturer produce roughly the same results for any argument as the 8087 did way back when, even if the result is hundreds of ulps off... -- _______________________________________________________ Evandro Menezes AMD Austin, TX