PandA-2024.02
Macros | Functions | Variables
dfmul.c File Reference
#include <stdio.h>
#include "softfloat.c"
Include dependency graph for dfmul.c:

Go to the source code of this file.

Macros

#define N   20
 

Functions

double ullong_to_double (unsigned long long x)
 
int main ()
 

Variables

const float64 a_input [N]
 
const float64 b_input [N]
 
const float64 z_output [N]
 

Macro Definition Documentation

◆ N

#define N   20

Definition at line 60 of file dfmul.c.

Referenced by main().

Function Documentation

◆ main()

int main ( void  )

Definition at line 131 of file dfmul.c.

References a_input, b_input, float64_mul(), main_result, N, result, ullong_to_double(), and z_output.

Here is the call graph for this function:

◆ ullong_to_double()

double ullong_to_double ( unsigned long long  x)

Definition at line 41 of file dfmul.c.

References x.

Referenced by main().

Here is the caller graph for this function:

Variable Documentation

◆ a_input

const float64 a_input[N]
Initial value:
= {
0x7FF0000000000000ULL,
0x7FFF000000000000ULL,
0x7FF0000000000000ULL,
0x7FF0000000000000ULL,
0x3FF0000000000000ULL,
0x0000000000000000ULL,
0x3FF0000000000000ULL,
0x0000000000000000ULL,
0x8000000000000000ULL,
0x3FF0000000000000ULL,
0x3FF0000000000000ULL,
0x4000000000000000ULL,
0x3FD0000000000000ULL,
0xC000000000000000ULL,
0xBFD0000000000000ULL,
0x4000000000000000ULL,
0xBFD0000000000000ULL,
0xC000000000000000ULL,
0x3FD0000000000000ULL,
0x0000000000000000ULL
}

Definition at line 61 of file dfmul.c.

Referenced by main().

◆ b_input

const float64 b_input[N]
Initial value:
= {
0xFFFFFFFFFFFFFFFFULL,
0xFFF0000000000000ULL,
0x0000000000000000ULL,
0x3FF0000000000000ULL,
0xFFFF000000000000ULL,
0x7FF0000000000000ULL,
0x7FF0000000000000ULL,
0x3FF0000000000000ULL,
0x3FF0000000000000ULL,
0x0000000000000000ULL,
0x8000000000000000ULL,
0x3FD0000000000000ULL,
0x4000000000000000ULL,
0xBFD0000000000000ULL,
0xC000000000000000ULL,
0xBFD0000000000000ULL,
0x4000000000000000ULL,
0x3FD0000000000000ULL,
0xC000000000000000ULL,
0x0000000000000000ULL
}

Definition at line 84 of file dfmul.c.

Referenced by main().

◆ z_output

const float64 z_output[N]
Initial value:
= {
0xFFFFFFFFFFFFFFFFULL,
0x7FFF000000000000ULL,
0x7FFFFFFFFFFFFFFFULL,
0x7FF0000000000000ULL,
0xFFFF000000000000ULL,
0x7FFFFFFFFFFFFFFFULL,
0x7FF0000000000000ULL,
0x0000000000000000ULL,
0x8000000000000000ULL,
0x0000000000000000ULL,
0x8000000000000000ULL,
0x3FE0000000000000ULL,
0x3FE0000000000000ULL,
0x3FE0000000000000ULL,
0x3FE0000000000000ULL,
0xBFE0000000000000ULL,
0xBFE0000000000000ULL,
0xBFE0000000000000ULL,
0xBFE0000000000000ULL,
0x0000000000000000ULL
}

Definition at line 107 of file dfmul.c.

Referenced by main().


Generated on Mon Feb 12 2024 13:03:07 for PandA-2024.02 by doxygen 1.8.13