1//<-- CLI SHELL MODE --> 2// ============================================================================= 3// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab 4// Copyright (C) 2008 - INRIA 5// 6// This file is distributed under the same license as the Scilab package. 7// ============================================================================= 8 9//ieee 10 11warning("off"); 12 13ieee(2); 14if execstr("1/0","errcatch") <> 0 then pause,end 15if 1/0<>%inf then pause,end 16 17ieee(1); 18if execstr("1/0","errcatch") <> 0 then pause,end 19if 1/0<>%inf then pause,end 20 21ieee(0); 22if execstr("1/0","errcatch") == 0 then pause,end 23