Posts

Post has attachment

Post has attachment

Post has attachment

/*

100 million of square root operations takes 0.78 seconds on my

average developer notebook Dell Inspiron M731R on Windows.

WHAT IS YOUR TIME?

*/

#include <stdio.h>

#include <time.h>

#include <math.h>

main()

{

int i;

double root;

clock_t start = clock();

for (i = 0 ; i <= 100000000; i++){

root = sqrt(i);

}

printf("Time elapsed: %f\n", ((double)clock() - start) / CLOCKS_PER_SEC);

printf("Number: %f\n", root);

}

100 million of square root operations takes 0.78 seconds on my

average developer notebook Dell Inspiron M731R on Windows.

WHAT IS YOUR TIME?

*/

#include <stdio.h>

#include <time.h>

#include <math.h>

main()

{

int i;

double root;

clock_t start = clock();

for (i = 0 ; i <= 100000000; i++){

root = sqrt(i);

}

printf("Time elapsed: %f\n", ((double)clock() - start) / CLOCKS_PER_SEC);

printf("Number: %f\n", root);

}

Add a comment...

Post has attachment

There is a reason why this gem is PS4 exclusive. Coming out February 2017.

Add a comment...

Post has attachment

Veronika with live gator. (at Tamarac Elementary, Science Night)

Add a comment...

Post has attachment

Post has attachment

Tamarac

Add a comment...

Post has attachment

Public

Turtle run natural area.

‹

›

7/4/16

3 Photos - View album

Add a comment...

Post has attachment

Public

Killing time while waiting for my car...

Add a comment...

Wait while more posts are being loaded