| 1 | ?RCS: $Id: d_drem.U 1 2006-08-24 12:32:52Z rmanfredi $ |
| 2 | ?RCS: |
| 3 | ?RCS: Copyright (c) 1991-1997, 2004-2006, Raphael Manfredi |
| 4 | ?RCS: |
| 5 | ?RCS: You may redistribute only under the terms of the Artistic Licence, |
| 6 | ?RCS: as specified in the README file that comes with the distribution. |
| 7 | ?RCS: You may reuse parts of this distribution only within the terms of |
| 8 | ?RCS: that same Artistic Licence; a copy of which may be found at the root |
| 9 | ?RCS: of the source tree for dist 4.0. |
| 10 | ?RCS: |
| 11 | ?RCS: Original Author: Andy Dougherty <doughera@lafcol.lafayette.edu> |
| 12 | ?RCS: |
| 13 | ?RCS: $Log: d_drem.U,v $ |
| 14 | ?RCS: Revision 3.0.1.1 1994/10/29 16:12:14 ram |
| 15 | ?RCS: patch36: created by ADO |
| 16 | ?RCS: |
| 17 | ?MAKE:d_drem: Inlibc |
| 18 | ?MAKE: -pick add $@ %< |
| 19 | ?S:d_drem: |
| 20 | ?S: This variable conditionally defines the HAS_DREM symbol, which |
| 21 | ?S: indicates to the C program that the drem() routine is available. |
| 22 | ?S:. |
| 23 | ?C:HAS_DREM : |
| 24 | ?C: This symbol, if defined, indicates that the drem routine is |
| 25 | ?C: available. This routine is roughly the same as fmod, i.e. it |
| 26 | ?C: computes the remainder r=x-n*y, where n=rint(x/y), whereas fmod |
| 27 | ?C: uses n=trunc(x/y). |
| 28 | ?C:. |
| 29 | ?H:#$d_drem HAS_DREM /**/ |
| 30 | ?H:. |
| 31 | ?LINT:set d_drem |
| 32 | : see if drem exists |
| 33 | set drem d_drem |
| 34 | eval $inlibc |
| 35 | |