diff options
author | jofret | 2008-04-21 14:49:26 +0000 |
---|---|---|
committer | jofret | 2008-04-21 14:49:26 +0000 |
commit | d9f4f0670e2c9ad1bb1ba34c1b951663f042bea4 (patch) | |
tree | d006dd6f4cd2e81565b31bec3657bfe229ed2447 /src/elementaryFunctions/log10/testDoubleLog10.c | |
parent | e5f156c5940aa8cb1362705671ad3f6d828c5e3a (diff) | |
download | scilab2c-d9f4f0670e2c9ad1bb1ba34c1b951663f042bea4.tar.gz scilab2c-d9f4f0670e2c9ad1bb1ba34c1b951663f042bea4.tar.bz2 scilab2c-d9f4f0670e2c9ad1bb1ba34c1b951663f042bea4.zip |
Double vs Float better management. Enable psycho warnings.
Diffstat (limited to 'src/elementaryFunctions/log10/testDoubleLog10.c')
-rw-r--r-- | src/elementaryFunctions/log10/testDoubleLog10.c | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/elementaryFunctions/log10/testDoubleLog10.c b/src/elementaryFunctions/log10/testDoubleLog10.c new file mode 100644 index 00000000..bab15190 --- /dev/null +++ b/src/elementaryFunctions/log10/testDoubleLog10.c @@ -0,0 +1,36 @@ +/* + * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab + * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET + * + * This file must be used under the terms of the CeCILL. + * This source file is licensed as described in the file COPYING, which + * you should have received as part of this distribution. The terms + * are also available at + * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + * + */ + +#include "testLog10.h" + +void dlog10sTest(void) { + /* FIXME : Implement some test here ... */ + printf(">> Double scalar\n"); + printf("dlog10s(0) = %e\n", dlog10s(0.0)); +} + +int testLog10(void) { + printf("\n>>>> Double 10-Based Logarithm Tests\n"); + dlog10sTest(); + /* FIXME : Implement some test here ... */ + /* + zlog10sTest(); + dlog10aTest(); + zlog10aTest(); + */ + return 0; +} + +int main(void) { + assert(testLog10() == 0); + return 0; +} |