Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Atan()
Message
De
01/03/2002 10:05:40
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
01/03/2002 09:58:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Atan()
Divers
Thread ID:
00626890
Message ID:
00626959
Vues:
13
>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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform