openbsd/sys/arch/sparc64/fpu/fpu_subr.c
/*
 * Concoct a `fresh' Quiet NaN per Appendix N.
 * As a side effect, we set NV (invalid) for the current exceptions.
 */
Concoct a `fresh' Quiet NaN per Appendix N.
As a side effect, we set NV (invalid) for the current exceptions.
Concoct a ` fresh ' Quiet NaN per Appendix N . As a side effect we set NV ( invalid ) for the current exceptions .
struct fpn *
fpu_newnan(register struct fpemu *fe)
{
	register struct fpn *fp;
	fe->fe_cx = FSR_NV;
	fp = &fe->fe_f3;
	fp->fp_class = FPC_QNAN;
	fp->fp_sign = 0;
	fp->fp_mant[0] = FP_1 - 1;
	fp->fp_mant[1] = fp->fp_mant[2] = fp->fp_mant[3] = ~0;
	return (fp);
}
struct fpn * fpu_newnan ( register struct fpemu * fe ) { register struct fpn * fp ; fe -> fe_cx = FSR_NV ; fp = & fe -> fe_f3 ; fp -> fp_class = FPC_QNAN ; fp -> fp_sign = 0 ; fp -> fp_mant [ 0 ] = FP_1 - 1 ; fp -> fp_mant [ 1 ] = fp -> fp_mant [ 2 ] = fp -> fp_mant [ 3 ] = ~ 0 ; return ( fp ) ; }
Concoct a `fresh' Quiet NaN per Appendix N.
 As a side effect, we set NV (invalid) for the current exceptions.
Concoct a ` fresh ' Quiet NaN per Appendix N . As a side effect we set NV ( invalid ) for the current exceptions .