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.
20 lines
264 B
20 lines
264 B
12 years ago
|
=proto
|
||
|
void duk_push_nan(duk_context *ctx);
|
||
|
|
||
|
=stack
|
||
|
[ ... ] -> [ ... NaN! ]
|
||
|
|
||
|
=summary
|
||
11 years ago
|
Pushes a <code>NaN</code> (not-a-number) to the stack.
|
||
12 years ago
|
|
||
|
=example
|
||
|
duk_push_nan(ctx);
|
||
|
|
||
11 years ago
|
printf("NaN is number: %d\n", (int) duk_is_number(ctx, -1));
|
||
12 years ago
|
|
||
11 years ago
|
=tags
|
||
|
stack
|
||
10 years ago
|
|
||
|
=introduced
|
||
|
1.0.0
|