souffle  2.0.2-371-g6315b36
Namespaces | Macros | Functions
ram_arithmetic_test.cpp File Reference
#include "tests/test.h"
#include "FunctorOps.h"
#include "Global.h"
#include "interpreter/Engine.h"
#include "ram/Expression.h"
#include "ram/IntrinsicOperator.h"
#include "ram/Program.h"
#include "ram/Query.h"
#include "ram/Relation.h"
#include "ram/Sequence.h"
#include "ram/SignedConstant.h"
#include "ram/Statement.h"
#include "ram/SubroutineReturn.h"
#include "ram/TranslationUnit.h"
#include "reports/DebugReport.h"
#include "reports/ErrorReport.h"
#include "souffle/RamTypes.h"
#include "souffle/SymbolTable.h"
#include <algorithm>
#include <cmath>
#include <cstddef>
#include <map>
#include <memory>
#include <string>
#include <type_traits>
#include <utility>
#include <vector>
Include dependency graph for ram_arithmetic_test.cpp:

Go to the source code of this file.

Namespaces

 souffle
 
 souffle::interpreter
 
 souffle::interpreter::test
 

Macros

#define TESTS_PER_OPERATION   20
 

Functions

RamDomain souffle::interpreter::test::evalBinary (FunctorOp functor, RamDomain arg1, RamDomain arg2)
 Evaluate a binary operator. More...
 
RamDomain souffle::interpreter::test::evalExpression (Own< Expression > expression)
 Function to evaluate a single Expression. More...
 
RamDomain souffle::interpreter::test::evalExpression (Own< Expression > expression, SymbolTable &symTab)
 Function to evaluate a single Expression. More...
 
RamDomain souffle::interpreter::test::evalMultiArg (FunctorOp functor, VecOwn< Expression > args)
 
RamDomain souffle::interpreter::test::evalMultiArg (FunctorOp functor, VecOwn< Expression > args, SymbolTable &symTab)
 
RamDomain souffle::interpreter::test::evalUnary (FunctorOp functor, RamDomain arg1)
 Evaluate a single argument expression. More...
 
 souffle::interpreter::test::TEST (Binary, FloatAdd)
 
 souffle::interpreter::test::TEST (Binary, FloatDiv)
 
 souffle::interpreter::test::TEST (Binary, FloatExp)
 
 souffle::interpreter::test::TEST (Binary, FloatMul)
 
 souffle::interpreter::test::TEST (Binary, FloatSub)
 
 souffle::interpreter::test::TEST (Binary, SignedAdd)
 
 souffle::interpreter::test::TEST (Binary, SignedBinaryAnd)
 
 souffle::interpreter::test::TEST (Binary, SignedBinaryOr)
 
 souffle::interpreter::test::TEST (Binary, SignedBinaryXor)
 
 souffle::interpreter::test::TEST (Binary, SignedDiv)
 
 souffle::interpreter::test::TEST (Binary, SignedExp)
 
 souffle::interpreter::test::TEST (Binary, SignedLogicalAnd)
 
 souffle::interpreter::test::TEST (Binary, SignedLogicalOr)
 
 souffle::interpreter::test::TEST (Binary, SignedMod)
 
 souffle::interpreter::test::TEST (Binary, SignedMul)
 
 souffle::interpreter::test::TEST (Binary, SignedSub)
 
 souffle::interpreter::test::TEST (Binary, UnsignedAdd)
 
 souffle::interpreter::test::TEST (Binary, UnsignedBinaryAnd)
 
 souffle::interpreter::test::TEST (Binary, UnsignedBinaryOr)
 
 souffle::interpreter::test::TEST (Binary, UnsignedBinaryXor)
 
 souffle::interpreter::test::TEST (Binary, UnsignedDiv)
 
 souffle::interpreter::test::TEST (Binary, UnsignedExp)
 
 souffle::interpreter::test::TEST (Binary, UnsignedLogicalAnd)
 
 souffle::interpreter::test::TEST (Binary, UnsignedLogicalOr)
 
 souffle::interpreter::test::TEST (Binary, UnsignedMod)
 
 souffle::interpreter::test::TEST (Binary, UnsignedMul)
 
 souffle::interpreter::test::TEST (Binary, UnsignedSub)
 
 souffle::interpreter::test::TEST (MultiArg, FloatMax)
 
 souffle::interpreter::test::TEST (MultiArg, FloatMin)
 
 souffle::interpreter::test::TEST (MultiArg, Max)
 
 souffle::interpreter::test::TEST (MultiArg, Min)
 
 souffle::interpreter::test::TEST (MultiArg, SymbolMax)
 
 souffle::interpreter::test::TEST (MultiArg, SymbolMin)
 
 souffle::interpreter::test::TEST (MultiArg, UnsignedMax)
 
 souffle::interpreter::test::TEST (MultiArg, UnsignedMin)
 
 souffle::interpreter::test::TEST (SignedConstant, ArithmeticEvaluation)
 
 souffle::interpreter::test::TEST (Unary, BinaryNot)
 
 souffle::interpreter::test::TEST (Unary, FloatNeg)
 
 souffle::interpreter::test::TEST (Unary, FloatToSigned)
 
 souffle::interpreter::test::TEST (Unary, FloatToUnsigned)
 
 souffle::interpreter::test::TEST (Unary, LogicalNeg)
 
 souffle::interpreter::test::TEST (Unary, Neg)
 
 souffle::interpreter::test::TEST (Unary, SignedToFloat)
 
 souffle::interpreter::test::TEST (Unary, SingedTpUnsigned)
 
 souffle::interpreter::test::TEST (Unary, UnsignedBinaryNot)
 
 souffle::interpreter::test::TEST (Unary, UnsignedLogicalNeg)
 
 souffle::interpreter::test::TEST (Unary, UnsignedToFloat)
 
 souffle::interpreter::test::TEST (Unary, UnsignedToSigned)
 

Macro Definition Documentation

◆ TESTS_PER_OPERATION

#define TESTS_PER_OPERATION   20

Definition at line 56 of file ram_arithmetic_test.cpp.