Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - Русский

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Scilabヘルプ >> Elementary Functions > Floating point > ceil

ceil

切り上げ

呼び出し手順

[y]=ceil(x)

引数

x

実数または複素数の行列

y

整数行列(または整数の実部と虚部を有する複素数行列)

説明

ceil(x) は切り上げた要素からなる整数または複素数の行列を返します.

ceil([1.3 1.5 1.7 2.5 3.7])
// Notice the result for x negative
ceil([-1.3 -1.5 -1.7 -2.5 -3.7])
ceil([2.2+%i*23, %pi*%i, -%i ])

参照

  • round — 最も近い整数に丸める
  • floor — 下方向への丸め
  • int — ゼロ方向への丸め
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Apr 01 10:25:00 CEST 2015