Re: ^ operator in VB.Net what in C#?
- From: "Octavio Hernandez" <dotnet@xxxxxxxxxxxx>
- Date: Tue, 2 Aug 2005 22:44:06 +0200
Thanks, Dan ! I really should have written that test, haven't done any maths
in my applications for some time...
Regards - Octavio
"Dan Neely" <DanNeely@xxxxxxxxxxxxxxxxxxxxxxxxx> escribió en el mensaje
news:C236D252-CDB9-4A07-9B69-25104CC7DB4C@xxxxxxxxxxxxxxxx
>
>
> "Octavio Hernandez" wrote:
>> The Math.Pow() method accepts any double operands, so I guess it works by
>> means of logarithms, etc. which could be slower if the operands are
>> integers. That's what I meant.
>
> Or both of you could stop pontificating and write a testapp. :)
>
> Using releasemode code the breakeven point for math.Pow was ~30^30.
> Smaller pairs were much faster in a for loop, higher ones really showed
> the
> benefit of using logs instead of loops.
.
- References:
- ^ operator in VB.Net what in C#?
- From: Hiten
- Re: ^ operator in VB.Net what in C#?
- From: Octavio Hernandez
- Re: ^ operator in VB.Net what in C#?
- From: Mark Rae
- Re: ^ operator in VB.Net what in C#?
- From: Octavio Hernandez
- Re: ^ operator in VB.Net what in C#?
- From: Dan Neely
- ^ operator in VB.Net what in C#?
- Prev by Date: The underlying connection was closed: Could not establish trust relationship with remote server
- Next by Date: Re: equivalent C# for VB.NET "Session"
- Previous by thread: Re: ^ operator in VB.Net what in C#?
- Next by thread: Streaming audio with C# question..
- Index(es):
Relevant Pages
|