- Timestamp:
- 06/02/04 23:50:50 (21 years ago)
- Location:
- ps/trunk/source/lib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ps/trunk/source/lib/lib.cpp
r364 r372 272 272 273 273 274 // provide fminf for non-C99 compilers275 #ifndef HAVE_C99276 277 float fminf(float a, float b)278 {279 return (a < b)? a : b;280 }281 282 #endif283 284 285 286 287 274 // input in [0, 1); convert to u8 range 288 275 u8 fp_to_u8(double in) -
ps/trunk/source/lib/lib.h
r366 r372 255 255 extern uintptr_t round_up(uintptr_t val, uintptr_t multiple); 256 256 257 258 // provide fminf for non-C99 compilers259 #ifndef HAVE_C99260 extern float fminf(float, float);261 #endif262 263 264 265 257 extern u16 fp_to_u16(double in); 266 258
Note:
See TracChangeset
for help on using the changeset viewer.
