Class: Ragweed::Wraposx::FpStatus
- Defined in:
- lib/ragweed/wraposx/structs.rb
Instance Method Summary collapse
- #busy ⇒ Object
- #c0 ⇒ Object
- #c1 ⇒ Object
- #c2 ⇒ Object
- #denorm ⇒ Object
- #errsumm ⇒ Object
- #invalid ⇒ Object
- #ovrfl ⇒ Object
- #precis ⇒ Object
- #stkflt ⇒ Object
- #tos ⇒ Object
- #undfl ⇒ Object
- #zdiv ⇒ Object
Instance Method Details
#busy ⇒ Object
84 85 86 |
# File 'lib/ragweed/wraposx/structs.rb', line 84 def busy self.value & 1 end |
#c0 ⇒ Object
69 70 71 |
# File 'lib/ragweed/wraposx/structs.rb', line 69 def c0 (self.value >> 7) & 1 end |
#c1 ⇒ Object
72 73 74 |
# File 'lib/ragweed/wraposx/structs.rb', line 72 def c1 (self.value >> 6) & 1 end |
#c2 ⇒ Object
75 76 77 |
# File 'lib/ragweed/wraposx/structs.rb', line 75 def c2 (self.value >> 5) & 1 end |
#denorm ⇒ Object
48 49 50 |
# File 'lib/ragweed/wraposx/structs.rb', line 48 def denorm (self.value >> 14) & 1 end |
#errsumm ⇒ Object
66 67 68 |
# File 'lib/ragweed/wraposx/structs.rb', line 66 def errsumm (self.value >> 8) & 1 end |
#invalid ⇒ Object
45 46 47 |
# File 'lib/ragweed/wraposx/structs.rb', line 45 def invalid self.value >> 15 end |
#ovrfl ⇒ Object
54 55 56 |
# File 'lib/ragweed/wraposx/structs.rb', line 54 def ovrfl (self.value >> 12) & 1 end |
#precis ⇒ Object
60 61 62 |
# File 'lib/ragweed/wraposx/structs.rb', line 60 def precis (self.value >> 10) & 1 end |
#stkflt ⇒ Object
63 64 65 |
# File 'lib/ragweed/wraposx/structs.rb', line 63 def stkflt (self.value >> 9) & 1 end |
#tos ⇒ Object
78 79 80 |
# File 'lib/ragweed/wraposx/structs.rb', line 78 def tos (self.value >> 2) & 7 end |
#undfl ⇒ Object
57 58 59 |
# File 'lib/ragweed/wraposx/structs.rb', line 57 def undfl (self.value >> 11) & 1 end |
#zdiv ⇒ Object
51 52 53 |
# File 'lib/ragweed/wraposx/structs.rb', line 51 def zdiv (self.value >> 13) & 1 end |