Quantcast
Channel: Intel® Software - Intel® Integrated Performance Primitives
Viewing all articles
Browse latest Browse all 1489

sing of 32 float

$
0
0

Hi, 

I need to get the sign value of each element in a vector.

is there a simple way to do so. 

exp: 

input: (32float)  1.26 0 63.54 -8.3 -1.2 1.6 5 -9 ....

output:   1    1  1   -1 -1 1 1 -1 

 

thanks 


Viewing all articles
Browse latest Browse all 1489

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>