Changeset 8487 in project


Ignore:
Timestamp:
02/15/08 21:01:14 (12 years ago)
Author:
Kon Lovett
Message:

Use of CHAR_BIT. Had wrong html.

Location:
release/3/srfi-27/tags/2.3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • release/3/srfi-27/tags/2.3/moa-primitives.scm

    r8432 r8487  
    1818#>
    1919/* bitsizeof is C++, sigh */
    20 #define BITS_PER_BYTE 8
    21 #define bitsizeof(t) (BITS_PER_BYTE * sizeof(t))
     20#define bitsizeof(t) (CHAR_BIT * sizeof(t))
    2221
    2322/* Mother **************************************************************
     
    163162#undef m32Double
    164163
    165 #undef BITS_PER_BYTE
    166164#undef bitsizeof
    167165<#
  • release/3/srfi-27/tags/2.3/mwc-primitives.scm

    r8437 r8487  
    2020
    2121/* bitsizeof is C++, sigh */
    22 #define BITS_PER_BYTE 8
    23 #define bitsizeof(t) (BITS_PER_BYTE * sizeof(t))
     22#define bitsizeof(t) (CHAR_BIT * sizeof(t))
    2423
    2524/*
     
    124123#undef A
    125124
    126 #undef BITS_PER_BYTE
    127125#undef bitsizeof
    128126<#
  • release/3/srfi-27/tags/2.3/srfi-27.html

    r8437 r8487  
    166166<li><a href="vector-lib.html">vector-lib</a></li>
    167167<li><a href="job-worker.html">job-worker</a></li>
    168 <li><a href="synch.html">synch</a></li></ul></div>
     168<li><a href="synch.html">synch</a></li>
     169<li><a href="mathh.html">mathh</a></li></ul></div>
    169170<div class="section">
    170171<h3>Usage</h3><tt>(require-extension srfi-27)</tt></div>
Note: See TracChangeset for help on using the changeset viewer.