Standard prefixes
Original Reporter info from Mantis: mkronman
-
Reporter name: Matti Kronman
Original Reporter info from Mantis: mkronman
- Reporter name: Matti Kronman
Description:
I am not sure, but I think that every other programmer has this in their own standard libraries, so why would not add it to to the The Great Standard Library, RTL?
Would it then go to the Math unit, I am not sure, or to somewhere else.
[code=pascal]Const
siYocto = 10**-24;
siZepto = 10**-21;
siAtto = 10**-18;
siFemto = 10**-15;
siPico = 10**-12;
siNano = 10**-9;
siMicro = 10**-6;
siMilli = 10**-3;
siCenti = 10**-2;
siDeci = 10**-1;
siDeca = 10;
siHecto = 10**2;
siKilo = 10**3; iecKibi = 2**10;
siMega = 10**6; iecMebi = 2**20;
siGiga = 10**9; iecGibi = 2**30;
siTera = 10**12; iecTebi = 2**40;
siPeta = 10**15; iecPebi = 2**50;
siExa = 10**18; iecExbi = 2**60;
siZetta = 10**21; iecZebi = 2**70;
siYotta = 10**24; iecYobi = 2**80;[/code]
Mantis conversion info:
- Mantis ID: 34439
- Version: 3.2.0
- Fixed in version: 3.3.1
- Fixed in revision: 39992 (#407753ea)
- Target version: 3.2.0