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: <@(#)modf.s 2.3 (Berkeley) 1/5/87\0>
9: .even
10: #endif LIBC_SCCS
11:
12: /*
13: * double modf (value, iptr)
14: * double value, *iptr;
15: *
16: * Modf returns the fractional part of "value",
17: * and stores the integer part indirectly through "iptr".
18: */
19:
20: #include "DEFS.h"
21:
22: #define one 040200
23:
24: ENTRY(modf)
25: movf 2(sp),fr0
26: modf $one,fr0
27: movf fr1,*10.(sp)
28: rts pc
Defined functions
_modf
defined in line
24; used 25 times
- in /usr/src/lib/libc/pdp/gen/ecvt.c line
40,
53,
61,
83
- in /usr/src/new/PORT/perl.1.0.0/arg.c line
1201,
1928
- in /usr/src/new/PORT/perl.1.0.0/perly.c line
1834,
2016
- in /usr/src/new/PORT/perl.1.0.10/arg.c line
1229,
1956
- in /usr/src/new/PORT/perl.1.0.10/perly.c line
1868,
2050
- in /usr/src/new/PORT/perl.1.0.16/arg.c line
1248,
1980
- in /usr/src/new/PORT/perl.1.0.16/hints/t001.c line
66
- in /usr/src/new/PORT/perl.1.0.16/perly.c line
1869,
2051
- in /usr/src/usr.lib/libom/floor.c line
8,
18-23(2)
- in /usr/src/usr.lib/libom/sin.c line
44,
58-60(2)
- in /usr/src/usr.lib/libom/tan.c line
28,
39
Defined macros
one
defined in line
22; used 1 times