cyaml · Section 3
cyaml_double_val
NAME
cyaml_double_val - extract a floating-point value from a CYAML_FLOAT node
LIBRARY
C Collections (libccollections, -lccollections)
SYNOPSIS
#include <ccollections/cyaml.h> double cyaml_double_val(cyaml node);
DESCRIPTION
Returns the double that node stores. The function calls ccol__fatal_err() when node is NULL and when node is not of type CYAML_FLOAT. The value can be infinite or NaN (see cyaml_create_double_mp).
PARAMETERS
node A CYAML_FLOAT node.
RETURN VALUE
The double value.