Every line of 'acos python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
26 @wrap(['space', float]) 27 def acos(space, d): 28 """ acos - Arc cosine """ 29 try: 30 return space.wrap(math.acos(d)) 31 except OverflowError: 32 return space.wrap(rfloat.INFINITY) 33 except ValueError: 34 return space.wrap(rfloat.NAN)