#include "node.h" #include <stdlib.h> node* node_float_new(double value) { node_float* nf = malloc(sizeof(node_float)); nf->type = NODE_FLOAT; nf->value = value; return (node*)nf; }