CT_SETPREC

 SETPREC()
 Sets the precision level for trigonometric functions
------------------------------------------------------------------------------
 Syntax

     SETPREC(<nPrecision>) --> cNull

 Argument

     <nPrecision>  Designates the number of places for computational
     precision in the range of 1 to 16.  The default value is 16.

 Returns

     SETPREC() always returns a null string.

 Description

     SET PRECISION
     
     Clipper Tools works with the default precision set at 16 places to
     the right of the decimal for trigonometric functions.  If you do not
     want this precision level, or you want a faster execution speed, reduce
     the number of places accordingly.  The following functions are affected:

     SIN()  COS()  TAN()  COT()  ASIN()  ACOS()  ATAN()  ATN2()

 Example

     Set a precision level of 10 places:

     SETPREC(10)         // Always returns a null string

See Also: GETPREC() SIN() COS() TAN() COT() ASIN() ACOS()

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.