Skip to content

Latest commit

 

History

History
executable file
·
57 lines (42 loc) · 1.94 KB

File metadata and controls

executable file
·
57 lines (42 loc) · 1.94 KB

Type Conversion

.rst-content table.docutils { width: 100%; table-layout: fixed; } table.docutils .line-block { margin-left: 0; margin-bottom: 0; } table.docutils code.literal { color: initial; } code.docutils { background: initial; }

Cast:

:cpp:func:`batch_cast` static_cast on batch types
:cpp:func:`bitwise_cast` reinterpret_cast on batch types
:cpp:func:`batch_bool_cast` static_cast on batch predicate types

Conversion:

:cpp:func:`to_float` per slot conversion to floating point
:cpp:func:`to_int` per slot conversion to integer
:cpp:func:`widen` per slot conversion to twice as big type

.. doxygengroup:: batch_conversion
   :project: xsimd
   :content-only: