[macruby-changes] [3757] MacRuby/trunk/numeric.c
source_changes at macosforge.org
source_changes at macosforge.org
Fri Mar 12 20:31:12 PST 2010
Revision: 3757
http://trac.macosforge.org/projects/ruby/changeset/3757
Author: lsansonetti at apple.com
Date: 2010-03-12 20:31:10 -0800 (Fri, 12 Mar 2010)
Log Message:
-----------
re-indent bad code
Modified Paths:
--------------
MacRuby/trunk/numeric.c
Modified: MacRuby/trunk/numeric.c
===================================================================
--- MacRuby/trunk/numeric.c 2010-03-13 04:20:25 UTC (rev 3756)
+++ MacRuby/trunk/numeric.c 2010-03-13 04:31:10 UTC (rev 3757)
@@ -3212,14 +3212,15 @@
* fix.popcnt => Fixnum
*
* Returns the number of 1 bits set in the internal representation of
- * <i>fix</i>. This function returns consistent results across platforms for
- * positive numbers, but may vary for negative numbers.
+ * <i>fix</i>. This function returns consistent results across platforms for
+ * positive numbers, but may vary for negative numbers.
*
*/
+
static VALUE
fix_popcnt(VALUE num, SEL sel)
{
- return INT2FIX(__builtin_popcountl(FIX2ULONG(num)));
+ return INT2FIX(__builtin_popcountl(FIX2ULONG(num)));
}
/*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100312/81633f27/attachment-0001.html>
More information about the macruby-changes
mailing list