1. camlspotter
  2. opycaml

Commits

camlspotter  committed 78e76ef

float

  • Participants
  • Parent commits 1663fdc
  • Branches dev

Comments (0)

Files changed (1)

File float.idl.in

View file
+[new] PyFloatObject* PyFloat_FromDouble(double d);
+// Return Python float from C double.
+
+double PyFloat_AsDouble(PyObject *o);
+
+double PyFloat_AS_DOUBLE(PyObject *o);
+// Extract C double from Python float.  The macro version trades safety for speed.