# ceil

Rounds toward positive infinity

## Syntax

## Description

## Examples

## Input Arguments

## Algorithms

`y`

and`a`

have the same`fimath`

object and`DataType`

property.When the

`DataType`

property of`a`

is`single`

,`double`

, or`boolean`

, the`numerictype`

of`y`

is the same as that of`a`

.When the fraction length of

`a`

is zero or negative,`a`

is already an integer, and the`numerictype`

of`y`

is the same as that of`a`

.When the fraction length of

`a`

is positive, the fraction length of`y`

is`0`

, its sign is the same as that of`a`

, and its word length is the difference between the word length and the fraction length of`a`

, plus one bit. If`a`

is signed, then the minimum word length of`y`

is`2`

. If`a`

is unsigned, then the minimum word length of`y`

is`1`

.

## Extended Capabilities

## Version History

**Introduced in R2008a**

## See Also

`convergent`

| `fix`

| `floor`

| `nearest`

| `round`