This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 350 for ps


Ignore:
Timestamp:
06/02/04 17:15:12 (21 years ago)
Author:
Simon Brenner
Message:
  • endian ifdefs => BYTE_ORDER == BIG_ENDIAN
  • round moved to sysdep with _MSC_VER ifdefs
  • alternative CHECK_ERR macro (in lib.h)
  • some linux compat stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/lib/lib.cpp

    r334 r350  
    175175        {
    176176            h ^= *p++;
    177             h *= 0x100000001B3;
     177            h *= 0x100000001B3ull;
    178178        }
    179179    }
     
    184184        {
    185185            h ^= *p++;
    186             h *= 0x100000001B3;
     186            h *= 0x100000001B3ull;
    187187
    188188            bytes_left--;
     
    282282
    283283
    284 long round(double x)
    285 {
    286     return (long)(x + 0.5);
    287 }
    288 
    289284
    290285// input in [0, 1); convert to u8 range
     
    341336    }
    342337}
    343 /*
     338
     339
    344340#ifndef _WIN32
    345341
     
    390386
    391387#endif
    392 */
    393 
    394 
Note: See TracChangeset for help on using the changeset viewer.