mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
11 years ago
2 changed files with 9 additions and 0 deletions
@ -0,0 +1,9 @@ |
|||
#include <stdio.h> |
|||
#include <math.h> |
|||
int main(int argc, char *argv[]) { |
|||
double d = 0.0; |
|||
printf("signbit: %d\n", signbit(d)); |
|||
d = -d; |
|||
printf("signbit: %d\n", signbit(d)); |
|||
} |
|||
|
Loading…
Reference in new issue