Ruby 2.7.7p221 (2022-11-24 revision 168ec2b1e5ad0e4688e963d9de019557c78feed9)
Functions
nan.c File Reference
#include "ruby/missing.h"
#include <assert.h>
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Functions

double nan (const char *spec)
 

Function Documentation

◆ nan()

double nan ( const char spec)

Definition at line 7 of file nan.c.

References assert, buf, free, len, malloc(), NAN, NULL, snprintf(), sprintf(), and strtod.

Referenced by VpGetDoubleNaN().