共用方式為


_mm_cvttss_si32

Microsoft Specific

Converts the lower single-precision, floating-point value of a to a 32-bit integer with truncation.

int _mm_cvttss_si32(__m128 a );
CVTTSS2SI

Return Value

r := (int)a0

Requirements

Header: mmintrin.h

END Microsoft Specific

See Also

Concepts

Conversion Operations (SSE)