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.1. This page might be outdated.
See the recommended documentation of this function

Scilab help >> Elementary Functions > Floating point > double

double

整数から倍精度表現に変換

呼び出し手順

y=double(X)
y=int16(X)
y=int32(X)
y=uint8(X)
y=uint16(X)
y=uint32(X)

パラメータParameters

X

浮動小数点数または整数の行列

y

浮動小数点数の行列

説明

converts data stored using one, two or four bytes integers into double precision floating point representation. エントリXがすでに倍精度 entries are already double precision floats, nothing is done.

x=int8([0 12 140])
double(x)

参照

  • int8 — 1バイト整数形式に変換する
  • inttype — 整数データ型で使用される整数型
  • type — 変数の型を返す
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Oct 01 17:40:23 CEST 2012