1: /*	@(#)ldexp11.s	2.1	SCCS id keyword	*/
   2: / double ldexp(number, exp)
   3: / double number
   4: /  -- returns number * 2^exp
   5: 
   6: .globl  _ldexp
   7: .globl  csv, cret
   8: 
   9: ERANGE = 34.
  10: 
  11: _ldexp:
  12:         jsr     r5,csv
  13:         movf    4(r5),fr0
  14:         movei   fr0,r0
  15:         add     12.(r5),r0
  16:         movie   r0,fr0
  17:         cfcc
  18:         bvc     1f
  19:         bmi     2f
  20:         movf    huge,fr0
  21:         br      3f
  22: 2:
  23:         movf    huge,fr0
  24:         negf    fr0
  25: 3:
  26:         mov     $ERANGE,_errno
  27: 1:
  28:         jmp     cret
  29: 
  30:         .comm   _errno,2
  31:         .data
  32: huge:   077777; 0177776; 0177777; 0177777

Defined functions

ERANGE defined in line 9; used 1 times
  • in line 26
_ldexp declared in line 6; defined in line 11; used 5 times

Defined variables

_errno defined in line 30; used 1 times
  • in line 26
huge defined in line 32; used 2 times
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 685
Valid CSS Valid XHTML 1.0 Strict