Guest User

Untitled

a guest
Jun 17th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. fn main() {
  2. println!("{:?}", {
  3. let n = 0b11110000u8; println!("{:08b}\n{:08b}", n, n >> 1)
  4. });
  5. }
  6.  
  7.  
  8. /* ~~~~=== stderr ===~~~~
  9. Compiling playground v0.0.1 (file:///playground)
  10. Finished dev [unoptimized + debuginfo] target(s) in 0.74 secs
  11. Running `target/debug/playground`
  12.  
  13. */
  14.  
  15. /* ~~~~=== stdout ===~~~~
  16. 11110000
  17. 01111000
  18. ()
  19.  
  20. */
Add Comment
Please, Sign In to add comment