/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include<stdio.h>
#include <math.h>
#include <string.h>
int main() {
double a = pow( 2, 32 ), b_prev = 0;
for( double b = 1; ; )
{
double c = a - b;
if( 0 == memcmp( &a, &c, sizeof( c ) ) )
break;
b_prev = b;
b /= 1.1;
}
printf( "found %e", b_prev );
}