Skip to content

Commit a0dd733

Browse files
committed
Updated scientific notation in SI using improvements from ST6RI-37.
1 parent 8b04712 commit a0dd733

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

sysml/src/library/SI.alf

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ package SI {
77
*
88
* TODO: Complete SI prefixes
99
*/
10-
nano = UnitPrefix(name => "nano", symbol => "n", conversionFactor => 1.0E-9);
11-
micro = UnitPrefix(name => "micro", symbol => "μ", conversionFactor => 1.0E-6);
12-
milli = UnitPrefix(name => "milli", symbol => "m", conversionFactor => 1.0E-3);
13-
kilo = UnitPrefix(name => "kilo", symbol => "k", conversionFactor => 1.0E+3);
14-
mega = UnitPrefix(name => "mega", symbol => "M", conversionFactor => 1.0E+6);
15-
giga = UnitPrefix(name => "giga", symbol => "G", conversionFactor => 1.0E+9);
10+
nano = UnitPrefix(name => "nano", symbol => "n", conversionFactor => 1E-9);
11+
micro = UnitPrefix(name => "micro", symbol => "μ", conversionFactor => 1E-6);
12+
milli = UnitPrefix(name => "milli", symbol => "m", conversionFactor => 1E-3);
13+
kilo = UnitPrefix(name => "kilo", symbol => "k", conversionFactor => 1E3);
14+
mega = UnitPrefix(name => "mega", symbol => "M", conversionFactor => 1E6);
15+
giga = UnitPrefix(name => "giga", symbol => "G", conversionFactor => 1E9);
1616

1717
/*
1818
* SI binary prefixes for multiples - see e.g. https://en.wikipedia.org/wiki/Binary_prefix

0 commit comments

Comments
 (0)