This forum has been archived. All content is frozen. Please use KDE Discuss instead.

pmax/pmin in scalar_tanh_op

Tags: None
(comma "," separated)
zdong
Registered Member
Posts
1
Karma
0

pmax/pmin in scalar_tanh_op

Wed Aug 03, 2016 3:08 pm
I find scalar_tanh_op can handle complex number, but I can't figure out which max/min function this struct use.
std::min/max or numext::min/max can't handle complex number, but there are pmax and pmin in scalar_tanh_op, I can't find any max/min operator on complex number. I know SSE2 optimization will packet complex numbers 4 by 4, but it's still complex number, so It must need max/min operator.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS

Re: pmax/pmin in scalar_tanh_op  Topic is solved

Wed Aug 03, 2016 4:48 pm
tanh is not vectorized for complex numbers, the packetOp() method you saw is called for float/double only.


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]