AngouriMath

Navigation

← Back to list of members

Ceil​(AngouriMath.​Entity)

 Method (no overloads)

Summary

The least integer not below a.

Parameter "a"

The argument to take the ceiling of.

Returns

The ceiling of the argument.

Remarks

Toward positive infinity, not away from zero: ceil(-3/2) is -1.
Componentwise on a complex argument, as Floor(AngouriMath.Entity) is.

Example

using System;
using static AngouriMath.MathS;
            
Console.WriteLine(Ceil("3/2").Simplify());
Console.WriteLine(Ceil("-3/2").Simplify());
Console.WriteLine(Ceil("x"));

Prints
2
-1
ceil(x)

























Angouri © 2019-2023 · Project's repo · Site's repo · Octicons · Transparency · 1953 pages online