Lines Matching refs:l2
33 float l2 = dot(p, p);
35 if (l2 < FLT_MIN) {
37 l2 = dot(p, p);
38 } else if (l2 == INFINITY) {
40 l2 = dot(p, p);
41 if (l2 == INFINITY) {
43 l2 = dot(p, p);
46 return p * rsqrt(l2);
53 float l2 = dot(p, p);
55 if (l2 < FLT_MIN) {
57 l2 = dot(p, p);
58 } else if (l2 == INFINITY) {
60 l2 = dot(p, p);
61 if (l2 == INFINITY) {
63 l2 = dot(p, p);
66 return p * rsqrt(l2);
73 float l2 = dot(p, p);
75 if (l2 < FLT_MIN) {
77 l2 = dot(p, p);
78 } else if (l2 == INFINITY) {
80 l2 = dot(p, p);
81 if (l2 == INFINITY) {
83 l2 = dot(p, p);
86 return p * rsqrt(l2);
101 double l2 = dot(p, p);
103 if (l2 < DBL_MIN) {
105 l2 = dot(p, p);
106 } else if (l2 == INFINITY) {
108 l2 = dot(p, p);
109 if (l2 == INFINITY) {
111 l2 = dot(p, p);
114 return p * rsqrt(l2);
121 double l2 = dot(p, p);
123 if (l2 < DBL_MIN) {
125 l2 = dot(p, p);
126 } else if (l2 == INFINITY) {
128 l2 = dot(p, p);
129 if (l2 == INFINITY) {
131 l2 = dot(p, p);
134 return p * rsqrt(l2);
141 double l2 = dot(p, p);
143 if (l2 < DBL_MIN) {
145 l2 = dot(p, p);
146 } else if (l2 == INFINITY) {
148 l2 = dot(p, p);
149 if (l2 == INFINITY) {
151 l2 = dot(p, p);
154 return p * rsqrt(l2);