Searched refs:float_ (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_numpy_dtypes.cpp24 float float_; member in struct:SimpleStruct
29 return os << "s:" << v.bool_ << "," << v.uint_ << "," << v.float_ << "," << v.ldbl_;
34 float float_; member in struct:SimpleStructReordered
42 float float_;
47 return os << "p:" << v.bool_ << "," << v.uint_ << "," << v.float_ << "," << v.ldbl_;
62 float float_; member in struct:PartialStruct
152 s.float_ = (float) (i) * 1.5f; \
264 PYBIND11_NUMPY_DTYPE(SimpleStruct, bool_, uint_, float_, ldbl_);
265 PYBIND11_NUMPY_DTYPE(SimpleStructReordered, bool_, uint_, float_, ldbl_);
266 PYBIND11_NUMPY_DTYPE(PackedStruct, bool_, uint_, float_, ldbl
[all...]
H A Dtest_pytypes.cpp192 "float"_a=py::float_(),
205 "float"_a=py::float_(d["float"]),
220 "float"_a=d["float"].cast<py::float_>(),
H A Dtest_numpy_array.py442 dtype = np.dtype(np.float_)
/gem5/ext/pybind11/include/pybind11/
H A Doperators.h155 PYBIND11_UNARY_OPERATOR(float, float_, (double) l)
H A Dpytypes.h1098 class float_ : public object { class in inherits:object
1100 PYBIND11_OBJECT_CVT(float_, object, PyFloat_Check, PyNumber_Float)
1102 float_(float value) : object(PyFloat_FromDouble((double) value), stolen_t{}) { function in class:float_
1105 float_(double value = .0) : object(PyFloat_FromDouble((double) value), stolen_t{}) { function in class:float_

Completed in 9 milliseconds