forked from OSchip/llvm-project
17 lines
297 B
C
17 lines
297 B
C
|
// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
|
||
|
|
||
|
typedef struct
|
||
|
{
|
||
|
unsigned char type; /* Indicates, NORMAL, SUBNORMAL, etc. */
|
||
|
} InternalFPF;
|
||
|
|
||
|
|
||
|
static void SetInternalFPFZero(InternalFPF *dest) {
|
||
|
dest->type=0;
|
||
|
}
|
||
|
|
||
|
void denormalize(InternalFPF *ptr) {
|
||
|
SetInternalFPFZero(ptr);
|
||
|
}
|
||
|
|