HRCore V1.1.0
A High Resolution Calculation Library
Loading...
Searching...
No Matches
HRCore.h File Reference

Main include file. More...

#include <algorithm>
#include <iostream>
#include <exception>
#include <cstdint>
#include <deque>
#include <stack>
#include <complex>
#include "inc/StorageIF.hpp"
#include "inc/VirtualMMU.hpp"
#include "inc/LinkedList.hpp"
#include "inc/Value.hpp"
#include "inc/Utils.hpp"
Include dependency graph for HRCore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  HRCore::Exception::InternalError
 Exception of internal error. Please dig into it and solve. More...
 
class  HRCore::Exception::LLR
 Exception of left < right. More...
 
class  HRCore::Exception::InvalidArgument
 Exception of Invalid Argument. More...
 
class  HRCore::Exception::DividedByZero
 Exception of divided by 0. More...
 
class  HRCore::Exception::FPConvertFailed
 Exception of FixedPoint failed to input. More...
 
class  HRCore::Exception::ExpressionConvertFailed
 Exception os Expression failed to convert. More...
 
class  HRCore::Exception::ExpressionInvalidOperation
 Exception of Expression evaluation: Invalid operation on seleted data type. More...
 

Namespaces

namespace  HRCore
 HRCore main namespace, contains all classes.
 
namespace  HRCore::Exception
 A namespace contains HRCore standard exceptions.
 

Macros

#define HRCORE_DEBUG_LEVEL   2
 Debug level setting. Default: 2. More...
 
#define HRCORE_HIGHPERF   0
 HRCore high performance macro. Default: 0. More...
 
#define HRCORE_UNIT_SIZE   32
 Decide how many bits should be used by single storage unit. Default: 32. More...
 
#define HRCORE_ENABLE_IO_DELIMETER   1
 Decide whether use delemeter ',' per thousand in the output of integer part. Default: 1. More...
 
#define HRCORE_ENABLE_MD   1
 Decide whether multiplication and division is enabled. Default: 1. More...
 
#define HRCORE_ENABLE_FP   1
 Determind whether Value::FixedPoint is enabled or not. Default: 1. More...
 
#define HRCORE_FP_BITS_BASE   24
 Decide how many bits as a base of Float. Default: 24. More...
 
#define HRCORE_FP_BITS_PER_DIGIT   8
 Decide how many bits for a digit in Float. Default: 8. More...
 
#define HRCORE_FP_DEFAULT_PRECISION   10
 Set default precision of Value::Float. Default: 10. More...
 
#define HRCORE_ENABLE_STORAGE_VMMU   1
 Decide whether Storage::VirtualMMU should be enabled or not. Default: 1. More...
 
#define HRCORE_STORAGE_VMMU_MAX_LEN   1024
 Define the max length of table of VMMU. Default: 1024. More...
 
#define HRCORE_ENABLE_UTILS   1
 Decide whether Utils should be enabled or not. Default: 1. More...
 
#define HRCORE_ENABLE_UTILS_IO   1
 Decide whether IO utils should be enabled or not. Default: 1. More...
 
#define HRCORE_DBG(x)
 
#define HRCORE_DBGI(x)
 
#define HRCORE_DBGW(x)   x
 
#define HRCORE_DBGE(x)   x
 
#define HRCORE_UNIT_DIV   5
 
#define __HRCORE_EXCEPTION_HELPER__(w)
 HRCore general exception implenent macro defination. More...
 

Typedefs

using HRCore::ival_t = uint32_t
 
using HRCore::idval_t = uint64_t
 
using HRCore::complex_t = std::complex< float >
 Complex number type using std::complex<float> More...
 
using HRCore::BINT = Value::Integer
 
using HRCore::BFLOAT = Value::Float
 
template<typename T , typename U >
using HRCore::BEXP = Utils::Expression< T, U >
 

Detailed Description

Main include file.

Author
Lu Yi
Version
1.1.0
Date
2022-12-06
Warning
NO safety garantee!

Definition in file HRCore.h.

Macro Definition Documentation

◆ HRCORE_DBG

#define HRCORE_DBG (   x)

Definition at line 157 of file HRCore.h.

◆ HRCORE_DBGE

#define HRCORE_DBGE (   x)    x

Definition at line 173 of file HRCore.h.

◆ HRCORE_DBGI

#define HRCORE_DBGI (   x)

Definition at line 163 of file HRCore.h.

◆ HRCORE_DBGW

#define HRCORE_DBGW (   x)    x

Definition at line 167 of file HRCore.h.

◆ HRCORE_UNIT_DIV

#define HRCORE_UNIT_DIV   5

Definition at line 204 of file HRCore.h.