Searched refs:SQR (Results 1 – 3 of 3) sorted by relevance
38 inline double SQR(double x) { return x * x; } in SQR() function55 if((b.center - p).squaredNorm() < SQR(b.radius)) in intersectObject()61 …ype &r, const BallType &b) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectVolumeObject()62 …Type &b, const BoxType &r) { ++calls; return r.squaredExteriorDistance(b.center) < SQR(b.radius); } in intersectObjectVolume()72 if((b.center - v).squaredNorm() < SQR(b.radius)) in intersectObjectObject()78 …onst BallType &b) { ++calls; return (std::max)(0., (b.center - p).squaredNorm() - SQR(b.radius)); } in minimumOnObject()80 …double minimumOnVolumeObject(const BoxType &r, const BallType &b) { ++calls; return SQR((std::max)… in minimumOnVolumeObject()81 …double minimumOnObjectVolume(const BallType &b, const BoxType &r) { ++calls; return SQR((std::max)… in minimumOnObjectVolume()82 …double minimumOnObjectObject(const BallType &b1, const BallType &b2){ ++calls; return SQR((std::ma… in minimumOnObjectObject()84 …double minimumOnObjectObject(const BallType &b, const VectorType &v){ ++calls; return SQR((std::ma… in minimumOnObjectObject()
368 def : InstRW<[A57Write_5cyc_1W], (instregex "^(P?MUL|SQR?DMULH)(v8i8|v4i16|v2i32|v1i8|v1i16|v1i32|v…370 def : InstRW<[A57Write_6cyc_2W], (instregex "^(P?MUL|SQR?DMULH)(v16i8|v8i16|v4i32)(_indexed)?$")>;
91 #define SQR(x) ((x)*(x)) macro