22 template<
bool Condition,
typename Then,
typename Else>
25 template<
typename Then,
typename Else>
55 int SupX = ((Y==1) ? 1 : Y/2),
56 bool Done = ((SupX-InfX)<=1 ?
true : ((SupX*SupX <= Y) && ((SupX+1)*(SupX+1) > Y))) >
62 TakeInf = MidX*MidX > Y ? 1 : 0,
63 NewInf =
int(TakeInf) ? InfX : int(MidX),
64 NewSup = int(TakeInf) ? int(MidX) : SupX
70 template<
int Y,
int InfX,
int SupX>
71 class ei_meta_sqrt<Y, InfX, SupX, true> {
public:
enum { ret = (SupX*SupX <= Y) ? SupX : InfX }; };
75 #endif // EIGEN2_META_H
ei_cleantype< T >::type type
ei_cleantype< T >::type type
ei_cleantype< T >::type type
ei_cleantype< T >::type type
ei_cleantype< T >::type type