[ create a new paste ] login | about

Link: http://codepad.org/qqvGzTOb    [ raw code | output | fork ]

AaronMiller - C, pasted on Oct 30:
1
2
3
4
5
6
7
8
9
#include <math.h>
#include <stdio.h>
#include <stdlib.h>

int main() {
    printf( "%.6f\n", 1.0e+03 );
    printf( "%.6f\n", pow( 1.0*10.0, 3 ) );
    return EXIT_SUCCESS;
}


Output:
1
2
1000.000000
1000.000000


Create a new paste based on this one


Comments: