File: test_long_long-double.c

package info (click to toggle)
fftw3 3.1.2-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 14,024 kB
  • ctags: 10,197
  • sloc: ansic: 154,845; asm: 33,960; ml: 12,962; sh: 9,019; perl: 1,392; makefile: 883; 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;
}