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 372 for ps


Ignore:
Timestamp:
06/02/04 23:50:50 (21 years ago)
Author:
janwas
Message:

moved fminf+fmaxf to sysdep

Location:
ps/trunk/source/lib
Files:
2 edited

Legend:

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

    r364 r372  
    272272
    273273
    274 // provide fminf for non-C99 compilers
    275 #ifndef HAVE_C99
    276 
    277 float fminf(float a, float b)
    278 {
    279     return (a < b)? a : b;
    280 }
    281 
    282 #endif
    283 
    284 
    285 
    286 
    287274// input in [0, 1); convert to u8 range
    288275u8 fp_to_u8(double in)
  • ps/trunk/source/lib/lib.h

    r366 r372  
    255255extern uintptr_t round_up(uintptr_t val, uintptr_t multiple);
    256256
    257 
    258 // provide fminf for non-C99 compilers
    259 #ifndef HAVE_C99
    260 extern float fminf(float, float);
    261 #endif
    262 
    263 
    264 
    265257extern u16 fp_to_u16(double in);
    266258
Note: See TracChangeset for help on using the changeset viewer.