Profile cover photo
Profile photo
Gustav Elsner
About
Posts

Post has attachment
Photo
Add a comment...

Post has attachment
Photo
Add a comment...

Post has attachment
Miami
Photo
Add a comment...

/*
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)
Photo
Add a comment...

Post has attachment
Framework7 rules!
Photo
Add a comment...

Post has attachment
Add a comment...

Post has attachment
Turtle run natural area.
PhotoPhotoPhoto
7/4/16
3 Photos - View album
Add a comment...

Post has attachment
Killing time while waiting for my car...
Photo
Add a comment...
Wait while more posts are being loaded