Actin®  Version 5.2.0
Software for Robotics Simulation and Control
ecConstants.h File Reference

A collection of constant values, both physics and programming constants. More...

#include "ecTypes.h"
#include "ecVersion.h"
#include <boost/config.hpp>

Go to the source code of this file.

Namespaces

 Ec
 Energid common namespace.
 

Macros

#define EcNULL   nullptr
 a null pointer variable
 

Variables

const EcString EcVersion = EC_VERSION
 version of code base
 
const EcBoolean EcTrue = true
 gives a representation of true
 
const EcBoolean EcFalse = false
 gives a representation of false
 
const EcReal EcPi = 3.14159265358979324
 gives an accurate value for the number Pi
 
const EcReal Ec2Pi = 6.28318530717958650
 gives an accurate value for two times Pi
 
const EcReal EcHalfPi = 1.57079632679489662
 gives an accurate value for Pi divided by two
 
const EcReal EcE = 2.71828182845904524
 gives an accurate value for the number E
 
const EcReal EcSqrt2 = 1.41421356237309505
 gives an accurate value for the square root of 2
 
const EcReal EcSqrt3 = 1.73205080756887729
 gives an accurate value for the square root of 3
 
const EcReal EcSqrt5 = 2.23606797749978969
 gives an accurate value for the square root of 5
 
const EcReal EcBIG = 1e300
 a big 64-bit floating-point number
 
const EcReal EcSMALL = 1e-300
 a small 64-bit floating-point number
 
const EcF32 EcBIG32 = 1e30f
 a big 32-bit floating-point number
 
const EcF32 EcSMALL32 = 1e-30f
 a small 32-bit floating-point number
 
const EcReal EcIN2M = 0.02540000000000000
 multiplicative conversion from inches to meters
 
const EcReal EcM2IN = 39.37007874015748
 multiplicative conversion from meters to inches
 
const EcReal EcM2FT = 3.2808398950131235
 multiplicative conversion from meters to feet
 
const EcReal EcRAD2DEG = 57.29577951308232088
 multiplicative conversion from radians to degrees
 
const EcReal EcDEG2RAD = 0.0174532925199432958
 multiplicative conversion from degrees to radians
 
const EcU32 EcMAXU32 = 0xFFFFFFFF
 the biggest 32-bit unsigned integer (4294967295)
 
const EcU16 EcMAXU16 = 0xFFFF
 the biggest 16-bit unsigned integer (65535)
 
const EcU8 EcMAXU8 = 0xFF
 the biggest 8-bit unsigned integer (255)
 
const EcInt32 EcMAXINT32 = 0x7FFFFFFF
 the biggest 32-bit signed integer (2147483647)
 
const EcInt32 EcMININT32 = -2147483647 - 1
 the smallest 32-bit signed integer (-2147483648)
 
const EcInt16 EcMAXINT16 = 0x7FFF
 the biggest 16-bit signed integer (32767)
 
const EcInt16 EcMININT16 = -32767 - 1
 the smallest 18-bit signed integer (-32768)
 
const EcInt8 EcMAXINT8 = 0x7F
 the biggest 8-bit signed integer (127)
 
const EcInt8 EcMININT8 = -127 - 1
 the smallest 18-bit signed integer (-128)
 
const EcReal EcNANO = 1e-9
 
const EcReal EcMICRO = 1e-6
 
const EcReal EcMILLI = 1e-3
 
const EcReal EcKILO = 1e3
 
const EcReal EcMEGA = 1e6
 
const EcReal EcGIGA = 1e9
 
const EcReal EcKIBI = 1 << 10
 IEC Powers of 1024.
 
const EcReal EcMEBI = 1 << 20
 
const EcReal EcGIBI = 1 << 30
 

Detailed Description

A collection of constant values, both physics and programming constants.

Definition in file ecConstants.h.

Variable Documentation

const EcReal EcNANO = 1e-9

SI Powers of 1000 small numbers to measure numerical errors

Definition at line 105 of file ecConstants.h.

Created by Energid Technologies www.energid.com
Copyright © 2016 Energid. All trademarks mentioned in this document are property of their respective owners.