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