.. Copyright (c) 2016, Johan Mabille, Sylvain Corlay Distributed under the terms of the BSD 3-Clause License. The full license is in the file LICENSE, distributed with this software. .. raw:: html Type Conversion =============== 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: