release 1.14pre1
[descalc.git] / 35_unitconv.pm
index 2cb181f6067623bcdc1a572ba06438198502c712..a460774023b86fbfde52887c4f1c601805f7f1e2 100644 (file)
@@ -1,5 +1,6 @@
 # unit convertor for DCT, by Shiar
 
+# 1.14.1 200701310504 - exact cd/dvd size
 # 1.14.0 200501261830 - units can have different offsets, so we can convert ^C/^F
 # 1.13.1 200501071420 - added cd/dvd sizes to data storage
 # 1.13.0 200411042100 - changed calls addmenu() and redraw()
@@ -193,8 +194,8 @@ do {
                ['bit', 1/8, "bit/octet"],
                ['Mbit', 1024**2/8, "megabit"],
                ['LOC', 19e12, 'Library of Congress'], # est. 17-20TB
-               ['CD', 735e6, 'max CD-ROM data'],
-               ['DVD', 47e8, 'max DVD-ROM data'],
+               ['CD', 359_847*2048, 'max CD-ROM (700MB) data'],
+               ['DVD', 2_295_104*2048, 'max DVD-ROM data'],
        ],
 ); # units table
 
@@ -223,6 +224,6 @@ push @{$hook{postentry}}, sub {
 return {
        author  => "Shiar",
        title   => "unit convertor",
-       version => "1.14",
+       version => "1.14.01",
 };