mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[apps] Replace magic numbers by constants
Change-Id: If9cb40bdc9b1e88a941a6f230fb42164b1e2d5f0
This commit is contained in:
12
apps/constant.h
Normal file
12
apps/constant.h
Normal file
@@ -0,0 +1,12 @@
|
||||
#ifndef APPS_CONSTANT_H
|
||||
#define APPS_CONSTANT_H
|
||||
|
||||
class Constant {
|
||||
public:
|
||||
constexpr static int FloatBufferSizeInScientificMode = 14;
|
||||
constexpr static int NumberOfDigitsInMantissaInScientificMode = 7;
|
||||
constexpr static int NumberOfDigitsInMantissaForDerivativeNumberInScientificMode = 3;
|
||||
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user