# 2.11BSD#431 - /usr/src/lib/libc/pdp/gen/fabs.s

##### Functions

    _fabs             X

       1: /*
       2:  * Copyright (c) 1987 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  */
       6:
       7: #ifdef LIBC_SCCS
       8:         <@(#)fabs.s	1.1 (Berkeley) 1/25/87\0>
       9:         .even
      10: #endif LIBC_SCCS
      11:
      12: /* abs_x = fabs(x)
      13:  *	double	abs_x, x;
      14:  *
      15:  * floating absolute value
      16:  */
      17:
      18: #include "DEFS.h"
      19:
      20: ENTRY(fabs)
      21:         bic     $0100000,2(sp)  / rip sign bit to pieces
      22:         movf    2(sp),fr0       / grab shredded x
      23:         rts     pc              / and return

#### Defined functions

_fabs defined in line 20; used 32 times

- in /usr/include/math.h line 9
- in /usr/src/games/phantasia/main.c line 308(2)
- in /usr/src/games/trek/move.c line 80-81(2)
- in /usr/src/games/trek/torped.c line 105-106(2)
- in /usr/src/games/trek/trek.h line 35
- in /usr/src/include/math.h line 9
- in /usr/src/new/OLD/apl/src/al.c line 339
- in /usr/src/new/OLD/apl/src/ao.c line 98-100(2)
- in /usr/src/new/OLD/apl/src/apl.h line 445
- in /usr/src/new/PORT/B/src/bint/b1fun.c line 461-462(2)
- in /usr/src/new/PORT/B/src/bint/b1nuC.c line 95-96(2)
- in /usr/src/new/PORT/B/src/bsmall/B1fun.c line 99, 124-125(2)
- in /usr/src/new/PORT/B/src/bsmall/B1num.c line 154-155(3)
- in /usr/src/new/PORT/apl/src/al.c line 339
- in /usr/src/new/PORT/apl/src/ao.c line 98-100(2)
- in /usr/src/new/PORT/apl/src/apl.h line 445
- in /usr/src/usr.bin/graph/graph.c line 310, 318, 559
- in /usr/src/usr.sbin/ntp/man/loop.c line 54-59(2)

Last modified: 1987-01-25 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 942 |