File: test_long_long-double.c

package info (click to toggle)
fftw3 3.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 16,824 kB
  • ctags: 8,846
  • sloc: ansic: 246,029; sh: 10,285; ml: 5,470; perl: 1,423; makefile: 935; fortran: 110; asm: 26
file content (11 lines) | stat: -rw-r--r-- 337 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
#include <stdio.h>

int main(){
        int size_long_double = sizeof(long double);
        int size_double = sizeof(double);
        printf("size of long double is %d\n", size_long_double);
        printf("size of double is %d\n", size_double);
        if (size_long_double != size_double)
                return 1;
        return 0;
}