121 reputation
3
bio website
location Paris, France
age
visits member for 1 year, 4 months
seen Jan 8 at 22:01

Jan
14
awarded  Popular Question
Dec
27
awarded  Student
Dec
24
comment sqrt c# vs sqrt c++
so yes c++ will call sqrt only once.
Dec
24
comment sqrt c# vs sqrt c++
really ? ok I will post this point on stackoverflow.
Dec
24
comment sqrt c# vs sqrt c++
I have of course store the 10^6 sqrt(2.0) calls by doing a sum in a variable ( i.e: var += sqrt(2.0) ) and print it on screen at the end to be sure that compilator will not skip some codes.
Dec
24
comment sqrt c# vs sqrt c++
my code is trivial and peer reviewed, I don't have it here, I have done it today at my work sorry. I could post it by Thursday. I have used Stopwatch Class (System.Diagnostics) and boost::chrono::nanoseconds for 1*10^6 repeatitions.
Dec
24
awarded  Supporter
Dec
24
asked sqrt c# vs sqrt c++