Lines 330-336
Link Here
|
330 |
#ifndef HAVE_LRINTF |
330 |
#ifndef HAVE_LRINTF |
331 |
#define HAS_LRINTF |
331 |
#define HAS_LRINTF |
332 |
// from http://www.stereopsis.com/FPU.html |
332 |
// from http://www.stereopsis.com/FPU.html |
333 |
static INLINE int lrintf(float f) |
333 |
static INLINE int _lrintf(float f) |
334 |
{ |
334 |
{ |
335 |
int i; |
335 |
int i; |
336 |
__asm__ __volatile__ ( |
336 |
__asm__ __volatile__ ( |
Lines 396-402
Link Here
|
396 |
|
396 |
|
397 |
#ifndef HAS_LRINTF |
397 |
#ifndef HAS_LRINTF |
398 |
/* standard cast */ |
398 |
/* standard cast */ |
399 |
#define lrintf(f) ((int32_t)(f)) |
399 |
#define _lrintf(f) ((int32_t)(f)) |
400 |
#endif |
400 |
#endif |
401 |
|
401 |
|
402 |
typedef real_t complex_t[2]; |
402 |
typedef real_t complex_t[2]; |