Changeset 34292 in project


Ignore:
Timestamp:
08/20/17 11:21:49 (5 weeks ago)
Author:
sjamaan
Message:

man/5: bit-set? is now bit->boolean

Location:
wiki/man/5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • wiki/man/5/Module (chicken bitwise)

    r34255 r34292  
    1919right. These operations only accept exact integers.
    2020
    21 ==== bit-set?
     21==== bit->boolean
    2222
    23 <procedure>(bit-set? N INDEX)</procedure>
     23<procedure>(bit-boolean N INDEX)</procedure>
    2424
    25 Returns {{#t}} if the bit at the position {{INDEX}} in the integer {{N}} is
    26 set, or {{#f}} otherwise. The rightmost/least-significant bit is bit 0.
     25Returns {{#t}} if the bit at the position {{INDEX}} in the integer
     26{{N}} is set, or {{#f}} otherwise. The rightmost/least-significant bit
     27is bit 0.
    2728
    2829==== integer-length
  • wiki/man/5/faq

    r34192 r34292  
    510510{{atom?}}
    511511{{bignum?}}
    512 {{bit-set?}}
     512{{bit->boolean}}
    513513{{bitwise-and}}
    514514{{bitwise-ior}}
Note: See TracChangeset for help on using the changeset viewer.