Help for this page

Select Code to Download


  1. or download this
    printf("%.16e", sqrt(2.0));
    
  2. or download this
    printf(MY_FORMAT, sqrt(2.0));
    
  3. or download this
    WRITEMAKEFILE(
      .... 
      DEFINE => '-DMY_FORMAT="%.16e"',
      ....
    );
    
  4. or download this
    use strict;
    use warnings;
    ...
    EOC
    
    foo();
    
  5. or download this
    C:\_32\C>type try.c
    #include <stdio.h>
    ...
    C:\_32\C>try
    1.4142135623730951e+000
    C:\_32\C>