Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Atan()
Message
From
01/03/2002 10:05:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
01/03/2002 09:58:42
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Atan()
Miscellaneous
Thread ID:
00626890
Message ID:
00626959
Views:
12
>atan_(.999) goes in .083 ms (P III 500 MHz).

It would go much slower in my own class, where numbers are stored as character data, and calculations like addition, subtraction, multiplication and division all have to loop through the digits in the string.

My class allows for almost unlimited precision; therefore I don't use the built-in atan() function.

Mainly, I am doing this for fun - it is nothing urgent. I posted the file in the UT download section, and I assume most users will mainly use the .Add(), .Subtract(), .Multiply() and .Divide() methods.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform