1: #ifdef LIBC_SCCS
   2:         .asciz  "@(#)modf.s	5.2 (Berkeley) 3/9/86"
   3: #endif LIBC_SCCS
   4: 
   5: /*
   6:  * double modf (value, iptr)
   7:  * double value, *iptr;
   8:  *
   9:  * Modf returns the fractional part of "value",
  10:  * and stores the integer part indirectly through "iptr".
  11:  */
  12: 
  13: #include "DEFS.h"
  14: 
  15: ENTRY(modf, 0)
  16:         emodd   4(ap),$0,$0f1.0,r2,r0
  17:         jvs     1f                      # integer overflow
  18:         cvtld   r2,*12(ap)
  19:         ret
  20: 1:
  21:         subd3   r0,4(ap),*12(ap)
  22:         ret
Last modified: 1986-03-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 865
Valid CSS Valid XHTML 1.0 Strict