Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Negative number raised to fractional number in .Net/Sql
Message
De
02/02/2008 11:30:10
 
 
À
01/02/2008 13:28:17
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01288218
Message ID:
01288490
Vues:
9
Sam,

What exactly is the code and what exactly is the error (and what line of code causes that error)?

~~Bonnie




>I have run across something weird, and I'm wondering if there's an easy way around it. The answer to one of our problems is (-0.099977002)^(12/36). .Net/Sql server appears to bomb out whenever a negative base is raised to a fractional exponent, and it yields NAN(something somewhere said that it had to do with the internal representation of values that perl uses). Is there a way around this limitation?
>
>Please help.
>
>Thanks,
>Sam
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform