1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2006-2008 - INRIA - Serge STEER <serge.steer@inria.fr>
//
// This file is distributed under the same license as the Scilab package.
// =============================================================================
// <-- JVM NOT MANDATORY -->
// <-- Non-regression test for bug 1802 -->
//
// <-- Bugzilla URL -->
// http://bugzilla.scilab.org/show_bug.cgi?id=1802
//
// <-- Short Description -->
// The sci2exp function is very very slow for large matrices
a=rand(100,500);
timer();sci2exp(a);t=timer();
if t>60 then bugmes();quit;end
|