Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
f16_mulAdd.c File Reference
#include <stdint.h>
#include "platform.h"
#include "internals.h"
#include "softfloat.h"
Include dependency graph for f16_mulAdd.c:

Go to the source code of this file.

Functions

float16_t f16_mulAdd (float16_t a, float16_t b, float16_t c)
 

Function Documentation

◆ f16_mulAdd()

float16_t f16_mulAdd ( float16_t a,
float16_t b,
float16_t c )

Definition at line 42 of file f16_mulAdd.c.

43{
44 union ui16_f16 uA;
45 uint_fast16_t uiA;
46 union ui16_f16 uB;
47 uint_fast16_t uiB;
48 union ui16_f16 uC;
49 uint_fast16_t uiC;
50
51 uA.f = a;
52 uiA = uA.ui;
53 uB.f = b;
54 uiB = uB.ui;
55 uC.f = c;
56 uiC = uC.ui;
57 return softfloat_mulAddF16( uiA, uiB, uiC, 0 );
58
59}
const GenericPointer< typename T::ValueType > T2 T::AllocatorType & a
Definition pointer.h:1181
float16_t softfloat_mulAddF16(uint_fast16_t, uint_fast16_t, uint_fast16_t, uint_fast8_t)
Definition s_mulAddF16.c:45
uint16_t uint_fast16_t
Definition stdint.h:155
float16_t f
Definition internals.h:45
Here is the call graph for this function: