19.11.2014 Views

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

The Fortress Language Specification - CiteSeerX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

littleEndian():BinaryEndianLinearEndianSequenceb,false,false, n,bigEndianSequence<br />

bigEndian():BinaryEndianLinearEndianSequenceb,true,true, n,bigEndianSequence<br />

littleEndianBits():BinaryEndianLinearEndianSequenceb,bigEndianBytes,false,<br />

n,bigEndianSequence<br />

bigEndianBits():BinaryEndianLinearEndianSequenceb,bigEndianBytes,true,<br />

n,bigEndianSequence<br />

littleEndianSequence():BinaryLinearEndianSequenceb, n,false<br />

bigEndianSequence():BinaryLinearEndianSequenceb, n,true<br />

splitnat b ′ ():BinaryLinearEndianSequenceb ′ , n · 2 b−b′ ,bigEndianSequence<br />

where { b ′ ≤ b }<br />

end<br />

40.9.1 coercion nat b ′ ,bool bigEndianBytes,bool bigEndianBits<br />

(x:BinaryEndianWordb ′ ,bigEndianBytes,bigEndianBits)<br />

where {bigEndianBytes = bigEndianSequence, 2 b′ = n · 2 b }<br />

[Description to be supplied.]<br />

40.9.2 coercion nat m,nat radix,nat q,nat k,nat v(x: NaturalNumeralm,radix, v)<br />

where {radix = 2 q , q · m = n · 2 bk }<br />

[Description to be supplied.]<br />

40.9.3 opr [j: IndexInt] : BinaryWordb<br />

throws { IndexOutOfBoundsException }<br />

40.9.4 opr nat k[j: IntegerStatick] : BinaryWordb where { k < n }<br />

[Description to be supplied.]<br />

40.9.5 opr nat m[r:RangeOfStaticSizeIndexInt, m] :<br />

BinaryLinearEndianSequenceb, m,bigEndianSequence<br />

throws { IndexOutOfBoundsException } where { m ≤ n }<br />

40.9.6 opr int a,nat m,int c[r: StaticRangea, m, c] :<br />

BinaryLinearEndianSequenceb, m,bigEndianSequence<br />

where { 0 ≤ a < n, 0 ≤ a + m · c < n }<br />

[Description to be supplied.]<br />

295

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!