Class: Ragweed::Wraposx::FpControl
- Defined in:
- lib/ragweed/wraposx/structs.rb
Instance Method Summary collapse
- #denorm ⇒ Object
- #invalid ⇒ Object
- #ovrfl ⇒ Object
- #pc ⇒ Object
- #precis ⇒ Object
- #rc ⇒ Object
- #res0 ⇒ Object
- #res1 ⇒ Object
- #res2 ⇒ Object
- #undfl ⇒ Object
- #zdiv ⇒ Object
Instance Method Details
#denorm ⇒ Object
11 12 13 |
# File 'lib/ragweed/wraposx/structs.rb', line 11 def denorm (self.value >> 14) & 1 end |
#invalid ⇒ Object
8 9 10 |
# File 'lib/ragweed/wraposx/structs.rb', line 8 def invalid self.value >> 15 end |
#ovrfl ⇒ Object
17 18 19 |
# File 'lib/ragweed/wraposx/structs.rb', line 17 def ovrfl (self.value >> 12) & 1 end |
#pc ⇒ Object
29 30 31 |
# File 'lib/ragweed/wraposx/structs.rb', line 29 def pc (self.value >> 6) & 3 end |
#precis ⇒ Object
23 24 25 |
# File 'lib/ragweed/wraposx/structs.rb', line 23 def precis (self.value >> 10) & 1 end |
#rc ⇒ Object
32 33 34 |
# File 'lib/ragweed/wraposx/structs.rb', line 32 def rc (self.value >> 4) & 3 end |
#res0 ⇒ Object
26 27 28 |
# File 'lib/ragweed/wraposx/structs.rb', line 26 def res0 (self.value >> 8) & 3 end |
#res1 ⇒ Object
35 36 37 |
# File 'lib/ragweed/wraposx/structs.rb', line 35 def res1 (self.value >> 3) & 1 end |
#res2 ⇒ Object
38 39 40 |
# File 'lib/ragweed/wraposx/structs.rb', line 38 def res2 self.value & 7 end |
#undfl ⇒ Object
20 21 22 |
# File 'lib/ragweed/wraposx/structs.rb', line 20 def undfl (self.value >> 11) & 1 end |
#zdiv ⇒ Object
14 15 16 |
# File 'lib/ragweed/wraposx/structs.rb', line 14 def zdiv (self.value >> 13) & 1 end |