Install the app
How to install the app on iOS

Follow along with the video below to see how to install our site as a web app on your home screen.

Note: This feature may not be available in some browsers.

  • Don't miss out on all the fun! Register on our forums to post and have added features! Membership levels include a FREE membership tier.
Thread Rating
4.00 star(s)
here's the happy little terd now.

SeptPowell2008143.jpg
 
#include <stdio.h>

int main( int argc, char **argv )
{
float machEps = 1.0f;

printf( "current Epsilon, 1 + current Epsilon\n" );
do {
printf( "%G\t%.20f\n", machEps, (1.0f + machEps) );
machEps /= 2.0f;
// If next epsilon yields 1, then break, because current
// epsilon is the machine epsilon.
}
while ((float)(1.0 + (machEps/2.0)) != 1.0);

printf( "\nCalculated Machine epsilon: %G\n", machEps );
return 0;
}
 
Makes me proud to see my little ones having the drive and dare to do it and experience the thrill. Not looking for props, just sharing an experience.:)
 
Premium Features



Back
Top