ack/mach/proto/fp/ngf4.c

21 lines
307 B
C
Raw Normal View History

1988-04-07 10:57:49 +00:00
/*
NEGATE A FLOATING POINT
*/
/********************************************************/
/*
Assumes exponent is located in bytes 0 & 1
*/
/********************************************************/
#include "FP_types.h"
ngf4(f)
_float f;
{
char unsigned *p;
p = (char unsigned *) &f;
*p ^= 0x80;
}