Home | Info | Community | Development | myReactOS | Contact Us
[static]
Definition at line 68 of file test_trig.c.
Referenced by main().
{ FT_Fixed f1, f2; double d1, d2; int i; for ( i = 0; i < FT_ANGLE_PI2-0x2000000; i += 0x10000 ) { f1 = FT_Tan(i); d1 = f1/65536.0; d2 = tan( i*SPI ); f2 = (FT_Fixed)(d2*65536.0); if ( abs( f2-f1 ) > THRESHOLD ) { error = 1; printf( "FT_Tan[%3d] = %.7f tan[%3d] = %.7f\n", (i >> 16), f1/65536.0, (i >> 16), d2 ); } } }