File: test_long_long-double.c

package info (click to toggle)
fftw3 3.3.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 21,448 kB
  • sloc: ansic: 252,622; sh: 11,540; ml: 5,479; perl: 1,651; makefile: 927; fortran: 110
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;
}