Contents | Previous | Next | Subchapters |

Syntax |
`ceil(` x`)` |

See Also | floor , roundoff , int , mod |

Returns the element-by-element largest integer that is less than or equal the corresponding element of

```
```

y = [ -1.4, -.6, 1.4, 2.]

ceil(y)

returns
```
```

[-1 , 0 , 2 , 2]

Note that the elements of the return value are integers but the return value has the same type as

In Mlmode ,

`floor`

function applies to the real and
imaginary parts separately.