3 examples of 'ceil in python' in Python

Every line of 'ceil in 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.

All examples are scanned by Snyk Code

By copying the Snyk Code Snippets you agree to
30def ceil(x):
31 return Ceil(float(x))
191def ceil_n(input_data, n):
192 """ Return the ceiling of the input, element-wise closed to devider n."""
193 return int(n * np.ceil(input_data / n))
272def ceil32(x):
273 return x if x % 32 == 0 else x + 32 - (x % 32)

Related snippets