_mm_castps_pd

Microsoft Specific

Applies a type cast to reinterpret four 32-bit floating point values passed in as a 128-bit parameter as packed 64-bit floating point values.

__m128d _mm_castps_pd( 
   __m128 a
);

Parameters

  • [in] a
    A 128-bit parameter that contains four 32-bit floating point values.

Return value

r := a

Requirements

Intrinsic

Architecture

_mm_castps_pd

x86, x64

Header file <emmintrin.h>

Remarks

The 128-bit return value r is a copy of the 128-bit parameter a, but cast as two double precision floating point values. This intrinsic changes one data type to another without performing any conversion.

This intrinsic does not map to any specific machine instruction.

Example

See the example for _mm_castpd_ps.

See Also

Reference

Compiler Intrinsics