# Copyright (c) 1985 Regents of the University of California.
# %sccs.include.redist.sh%
# @(#)infnan.s 5.5 (Berkeley) %G%
.asciz "@(#)infnan.s 5.5 (ucb.elefunt) %G%"
* where arg := EDOM if result is NaN
* := ERANGE if result is +INF
* := -ERANGE if result is -INF
* The Reserved Operand Fault is generated inside of this routine.
.word 0x0000 # save nothing
2: cmpf2 $0x80000000,$0x80000000 # generates the reserved operand fault