File: test_long_long-double.c

package info (click to toggle)
fftw3 3.1.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,016 kB
  • ctags: 10,195
  • sloc: ansic: 154,845; asm: 33,960; ml: 12,962; sh: 8,943; perl: 1,392; makefile: 878; fortran: 108
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;
}