p2
0.0
|
simple arithmetic. More...
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <math.h>
#include "p2.h"
#include "internal.h"
Go to the source code of this file.
Macros | |
#define | PN_NUM_MATH(math_op) |
#define | PN_INT_MATH(math_op) |
#define | PN_DBL_MATH(math_op) |
Functions | |
PN | potion_double (Potion *P, double v) |
new PNDouble (double) More... | |
PN | potion_strtod (Potion *P, char *str, int len) |
Convert string to double. More... | |
void | potion_num_init (Potion *P) |
simple arithmetic.
PNNumber is either an immediate PN_INT integer (with one bit for a tag, range 2^30/2^62) or a boxed full-precision double PNDouble.
Definition in file number.c.
#define PN_NUM_MATH | ( | math_op | ) |
#define PN_INT_MATH | ( | math_op | ) |
#define PN_DBL_MATH | ( | math_op | ) |