Revision 369be8f6 fpu/softfloat.h
b/fpu/softfloat.h | ||
---|---|---|
212 | 212 |
void float_raise( int8 flags STATUS_PARAM); |
213 | 213 |
|
214 | 214 |
/*---------------------------------------------------------------------------- |
215 |
| Options to indicate which negations to perform in float*_muladd() |
|
216 |
| Using these differs from negating an input or output before calling |
|
217 |
| the muladd function in that this means that a NaN doesn't have its |
|
218 |
| sign bit inverted before it is propagated. |
|
219 |
*----------------------------------------------------------------------------*/ |
|
220 |
enum { |
|
221 |
float_muladd_negate_c = 1, |
|
222 |
float_muladd_negate_product = 2, |
|
223 |
float_muladd_negate_result = 3, |
|
224 |
}; |
|
225 |
|
|
226 |
/*---------------------------------------------------------------------------- |
|
215 | 227 |
| Software IEC/IEEE integer-to-floating-point conversion routines. |
216 | 228 |
*----------------------------------------------------------------------------*/ |
217 | 229 |
float32 int32_to_float32( int32 STATUS_PARAM ); |
... | ... | |
269 | 281 |
float32 float32_mul( float32, float32 STATUS_PARAM ); |
270 | 282 |
float32 float32_div( float32, float32 STATUS_PARAM ); |
271 | 283 |
float32 float32_rem( float32, float32 STATUS_PARAM ); |
284 |
float32 float32_muladd(float32, float32, float32, int STATUS_PARAM); |
|
272 | 285 |
float32 float32_sqrt( float32 STATUS_PARAM ); |
273 | 286 |
float32 float32_exp2( float32 STATUS_PARAM ); |
274 | 287 |
float32 float32_log2( float32 STATUS_PARAM ); |
... | ... | |
375 | 388 |
float64 float64_mul( float64, float64 STATUS_PARAM ); |
376 | 389 |
float64 float64_div( float64, float64 STATUS_PARAM ); |
377 | 390 |
float64 float64_rem( float64, float64 STATUS_PARAM ); |
391 |
float64 float64_muladd(float64, float64, float64, int STATUS_PARAM); |
|
378 | 392 |
float64 float64_sqrt( float64 STATUS_PARAM ); |
379 | 393 |
float64 float64_log2( float64 STATUS_PARAM ); |
380 | 394 |
int float64_eq( float64, float64 STATUS_PARAM ); |
Also available in: Unified diff