Module: BitCounter::CImpl
- Included in:
- BitCounter
- Defined in:
- ext/bit_counter/bit_counter.c
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.cpu_popcnt? ⇒ Boolean
19 20 21 |
# File 'ext/bit_counter/bit_counter.c', line 19 static VALUE bitcounter_cimpl_cpu_popcnt_p(VALUE self){ return Qfalse; } |
Instance Method Details
#count_bignum(num) ⇒ Object
for bignum
148 149 150 151 |
# File 'ext/bit_counter/bit_counter.c', line 148
static VALUE bitcounter_cimpl_count_bignum_asm(VALUE self, VALUE num){
/* dummy function for C compiler, never called from Ruby */
return Qnil;
}
|
#count_fixnum(num) ⇒ Object
34 35 36 37 |
# File 'ext/bit_counter/bit_counter.c', line 34
static VALUE bitcounter_cimpl_count_fixnum_asm(VALUE self, VALUE num){
/* dummy function for C compiler, never called from Ruby */
return Qnil;
}
|