Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- //http://codepad.org/oo8rNQWs
- #include <stdio.h>
- //http://codepad.org/VZnVZtpm
- int main()
- {
- int i=1;
- float x=2;
- x=x/2;
- for(;i<153;i++, x/=2){
- printf("2^-%03d: x/2.0 - division %03d: (%6.3e / 2.0) = %0.3e\n",i,i,x,(x/2) );
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement