DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400 Tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400 Tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦a91c820ad⟧ TextFile

    Length: 462 (0x1ce)
    Types: TextFile
    Names: »B«

Derivation

└─⟦bad92a95e⟧ Bits:30000535 8mm tape, Rational 1000, RPC 1_0_2
    └─ ⟦bb34fe6e2⟧ »DATA« 
        └─⟦15d8b76c6⟧ 
            └─⟦this⟧ 

TextFile

package body Interchange_Defs is

    function Duration_Magnitude return Standard.Integer is
    begin
        for I in 1 .. 9 loop
            if Longest_Integer (10 ** I) >
               Longest_Integer (Standard.Duration'Last) then
                return 10 ** (I - 1);
            end if;
        end loop;

        return 10 ** 9;
    exception
        when Constraint_Error =>
            return 10 ** 9;
    end Duration_Magnitude;

end Interchange_Defs;