Skip to content

CEIL

Summary

Vector ceiling: element-wise ceiling of each input value (smallest integer >= input).

Formula

outReal[i] = ceil(inReal[i])

Inputs

  • inReal — Input values

Outputs

  • outReal — Each input rounded up to nearest integer

Implementation

TA-Lib Definition: ceil.c · ceil.yaml

Native File
C ta_CEIL.c
Rust ceil.rs
Java Core.java

TA-Lib is also available for Python, R and more using a wrapper.

Aliases

Vector Ceil, Ceiling

See Also

FLOOR