Created
October 24, 2013 15:38
-
-
Save 5kg/7139475 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Program terminated with signal 11, Segmentation fault. | |
#0 0x00007f59aeb1c45e in __printf_fp () from /usr/lib/libc.so.6 | |
(gdb) bt | |
#0 0x00007f59aeb1c45e in __printf_fp () from /usr/lib/libc.so.6 | |
#1 0x00007f59aeb1b185 in vfprintf () from /usr/lib/libc.so.6 | |
#2 0x00007f59aeb207b9 in printf () from /usr/lib/libc.so.6 | |
#3 0x0000000000400534 in main () |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
double d = 1.0; | |
long double ld; | |
printf("%Lf\n", ld); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment