5. Bigloo -- Standard Library<BR>5.5 Bit manipulation

5. Bigloo -- Standard Library
5.5 Bit manipulation

Browsing

Home: Bigloo
A ``practical Scheme compiler''
for Bigloo version 2.5a
April 2002

Previous chapter: Core Language
Next chapter: Pattern Matching


Standard Library

5.1 Scheme Library
5.2 Input and output
5.3 Structures and Records
5.4 Serialization
5.5 Bit manipulation
5.6 Hash Tables
5.7 System programming
5.8 Process support
5.9 Socket support
5.10 Posix Regular Expressions


Chapters

Copyright
Acknowledgements
1. Table of contents
2. Overview of Bigloo
3. Modules
4. Core Language
5. Standard Library
6. Pattern Matching
7. Object System
8. Threads
9. Regular parsing
10. Lalr(1) parsing
11. Errors and Assertions
12. Eval and code interpretation
13. Macro expansion
14. Command Line Parsing
15. Explicit typing
16. The C interface
17. The Java interface
18. Bigloo Libraries
19. SRFIs
20. DSSSL support
21. Compiler description
22. User Extensions
23. Bigloo Development Environment
24. Global Index
25. Library Index
Bibliography


These procedures allow the manipulation of fixnums as bit-fields.
bit-or i1 i2bigloo procedure
bit-xor i1 i2bigloo procedure
bit-and i1 i2bigloo procedure
bit-not ibigloo procedure
bit-lsh i1 i2bigloo procedure
bit-rsh i1 i2bigloo procedure
(bit-or 5 3)                           => 7
(bit-xor 5 3)                          => 6
(bit-and 5 3)                          => 1
(bit-not 5)                            => -6
(bit-lsh 5 3)                          => 40
(bit-rsh 5 1)                          => 2


This
Scribe page has been generated by scribeinfo.
Last update Thu Apr 25 09:40:15 2002