GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::experimental::simd_cast,std::experimental::static_simd_cast(3) C++ Standard Libary std::experimental::simd_cast,std::experimental::static_simd_cast(3)

std::experimental::simd_cast,std::experimental::static_simd_cast - std::experimental::simd_cast,std::experimental::static_simd_cast


Defined in header <experimental/simd>
template < class V, class T, class Abi > (1) (parallelism TS v2)
/*see below*/ simd_cast( const simd<T, Abi>& v );
template < class V, class T, class Abi > (2) (parallelism TS v2)
/*see below*/ static_simd_cast( const simd<T, Abi>& v );


Cast a simd object to another simd object. If V is T, returns simd<T, Abi>;
otherwise, if V is a scalar type, returns simd<V, simd_abi::fixed_size<simd<T,
Abi>::size()>>. Otherwise, V must be a simd type, and the function returns V.


1) This function does not participate in overloading resolution unless


* every possible value of the input element can be represented with the output
element
* either is_simd_v<V> is false, or V::size() is simd<T, Abi>::size()


2) This function does not participate in overloading resolution unless either
is_simd_v<V> is false, or V::size() is simd<T, Abi>::size().


v - the input simd object


A simd object with the i-th element initialized to static_cast<To>(v[i]), where To
is the output element type as specified.

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.