2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2013-2013 - S/E - Sylvestre Ledru
4 * Copyright (C) 2013-2013 - S/E - Antoine ELIAS
5 * Copyright (C) 2013-2013 - S/E - Calixte DENIZET
7 * This file must be used under the terms of the CeCILL.
8 * This source file is licensed as described in the file COPYING, which
9 * you should have received as part of this distribution. The terms
10 * are also available at
11 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
15 #include "types_comparison_lt_le_gt_ge.hxx"
17 #include "types_addition.hxx"
18 #include "types_multiplication.hxx"
19 #include "types_substraction.hxx"
20 #include "context.hxx"
22 /* This is a configuration file which will be transformed by llvm + clang
28 types::Double* pdbl = types::Double::Empty();
31 int res = AddDoubleToDouble(pdbl, pdbl, &pdbl);
32 types::Double* pdbl1 = types::Double::Empty();
34 res = MultiplyDoubleByDouble(pdbl1, pdbl1, &pdbl1);
35 res = SubstractDoubleToDouble(pdbl1, pdbl1, &pdbl1);
38 res = DoubleLessDouble(pdbl, pdbl, 0);
39 symbol::Symbol * sym = 0;// = symbol::Symbol(L"a"); => This declaration makes llc fails
41 symbol::Context::getInstance()->put(*sym, *pdbl);
42 symbol::Context::getInstance()->get(*sym);