Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Negative number raised to fractional number in .Net/Sql
Message
From
02/02/2008 11:30:10
 
 
To
01/02/2008 13:28:17
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01288218
Message ID:
01288490
Views:
8
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
Previous
Reply
Map
View

Click here to load this message in the networking platform