@@ -127,7 +127,7 @@ internal class Utils {
127127        } 
128128        let  bottom  =  pow ( t,  CGFloat ( n) )  +  pow( 1  -  t,  CGFloat ( n) ) 
129129        let  top  =  bottom -  1 
130-         return  abs ( top/ bottom) 
130+         return  Swift . abs ( top/ bottom) 
131131    } 
132132
133133    static  func  projectionRatio( n:  Int ,  t:  CGFloat  =  0.5 )  ->  CGFloat  { 
@@ -147,7 +147,7 @@ internal class Utils {
147147    } 
148148
149149    static  func  approximately( _ a:  Double ,  _ b:  Double ,  precision:  Double )  ->  Bool  { 
150-         return  abs ( a- b)  <=  precision
150+         return  Swift . abs ( a- b)  <=  precision
151151    } 
152152
153153    static  func  linesIntersection( _ line1p1:  CGPoint ,  _ line1p2:  CGPoint ,  _ line2p1:  CGPoint ,  _ line2p2:  CGPoint )  ->  CGPoint ? { 
@@ -188,7 +188,7 @@ internal class Utils {
188188        let  p3  =  Double ( p3) 
189189        let  d  =  - p0 +  3  *  p1 -  3  *  p2 +  p3
190190        let  smallValue :  Double  =  1.0e-8 
191-         guard  abs ( d)  >=  smallValue else  { 
191+         guard  Swift . abs ( d)  >=  smallValue else  { 
192192            // solve the quadratic polynomial at^2 + bt + c instead
193193            let  a  =  ( 3  *  p0 -  6  *  p1 +  3  *  p2) 
194194            let  b  =  ( - 3  *  p0 +  3  *  p1) 
@@ -250,7 +250,7 @@ internal class Utils {
250250        let  p2  =  Double ( p2) 
251251        let  d  =  p0 -  2.0  *  p1 +  p2
252252        guard  d. isFinite else  {  return  } 
253-         guard  abs ( d)  >  epsilon else  { 
253+         guard  Swift . abs ( d)  >  epsilon else  { 
254254            if  p0 !=  p1 { 
255255                callback ( CGFloat ( 0.5  *  p0 /  ( p0 -  p1) ) ) 
256256            } 
0 commit comments