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//ieee 9warning("off"); 10ieee(2); 11if execstr("1/0","errcatch") <> 0 then bugmes();quit;end 12if 1/0<>%inf then bugmes();quit;end 13ieee(1); 14if execstr("1/0","errcatch") <> 0 then bugmes();quit;end 15if 1/0<>%inf then bugmes();quit;end 16ieee(0); 17if execstr("1/0","errcatch") == 0 then bugmes();quit;end 18