mirror of https://github.com/svaarala/duktape.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
523 B
28 lines
523 B
12 years ago
|
/* This caused a valgrind error at some point.
|
||
12 years ago
|
*
|
||
|
* This might actually be a libc/valgrind issue? The following example
|
||
|
* will also cause similar valgrind complaints:
|
||
|
*
|
||
|
* #include <stdio.h>
|
||
|
* #include <string.h>
|
||
|
*
|
||
|
* int main(int argc, char *argv[]) {
|
||
|
* double d = 0.0;
|
||
|
* char buf[256];
|
||
|
*
|
||
|
* memset(buf, 0, sizeof(buf));
|
||
|
* sprintf(buf, "%s", "NaN");
|
||
|
* sscanf(buf, "%lg", &d);
|
||
|
* printf("%lg\n", d);
|
||
|
* }
|
||
12 years ago
|
*/
|
||
|
|
||
|
/*===
|
||
11 years ago
|
still here
|
||
12 years ago
|
===*/
|
||
|
|
||
|
var x;
|
||
|
|
||
|
x = "NaN" >>> 0;
|
||
11 years ago
|
print('still here');
|