Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
5.3.1 - 日本語

Change language to:
English - Français - Português

Please note that the recommended version of Scilab is 2024.0.0. This page might be outdated.
However, this page did not exist in the previous stable version.

Scilab help >> Elementary Functions > isequalbitwise

isequalbitwise

ビット単位の変数比較

呼び出し手順

t=isequalbitwise(a,b)
t=isequalbitwise(a,b,..)

パラメータ

a, b , ...

任意の型の変数

t

論理値

説明

isequalbitwise は引数を比較します. 引数全てが等しい場合,関数は %tを返し, その他の場合 %fを返します.

リスト,構造体,...を比較する場合, 比較は再帰的,フィールドの順に行われます.

浮動小数点数のデータはビット単位で比較されます. すなわち, NaN 値は等しくなく, double(1) と int32(1)は等しくありません. IEEE比較については,isequalを参照ください.

a=list(1:5,%s+1,'ABCDEFG');
isequalbitwise(a,a)

参照

  • isequal — オブジェクトの比較
<< isequal Elementary Functions isreal >>

Copyright (c) 2022-2023 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Mar 03 11:00:51 CET 2011