Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Prelude/Fractional_Float.z.c

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


#include "newmacros.h"
#include "runtime.h"

#define CT_v278	((void*)startLabel+88)
#define FN_Prelude_46Prelude_46166_46ff	((void*)startLabel+156)
#define v279	((void*)startLabel+245)
#define CT_v282	((void*)startLabel+276)
#define F0_Prelude_46Prelude_46166_46ff	((void*)startLabel+284)
#define FN_LAMBDA274	((void*)startLabel+352)
#define CT_v284	((void*)startLabel+376)
#define F0_LAMBDA274	((void*)startLabel+384)
#define FN_LAMBDA275	((void*)startLabel+396)
#define CT_v286	((void*)startLabel+420)
#define F0_LAMBDA275	((void*)startLabel+428)
#define CT_v288	((void*)startLabel+472)
#define CT_v290	((void*)startLabel+516)
#define CT_v292	((void*)startLabel+580)
#define ST_v291	((void*)startLabel+608)
#define ST_v287	((void*)startLabel+641)
#define ST_v277	((void*)startLabel+676)
#define ST_v281	((void*)startLabel+722)
#define ST_v283	((void*)startLabel+780)
#define ST_v285	((void*)startLabel+838)
#define ST_v289	((void*)startLabel+896)
extern Node TM_Prelude[];
extern Node FN_NHC_46Internal_46_95apply1[];
extern Node FN_Prelude_46asTypeOf[];
extern Node FN_Ratio_46numerator[];
extern Node CF_Prelude_46Integral_46Prelude_46Integer[];
extern Node FN_Prelude_46Num_46Prelude_46Float_46fromInteger[];
extern Node FN_NHC_46Internal_46_95apply2[];
extern Node FN_Ratio_46denominator[];
extern Node FN_Prelude_46Fractional_46Prelude_46Float_46_47[];
extern Node FN_Prelude_46RealFloat_46Prelude_46Float_46decodeFloat[];
extern Node TMSUB_Prelude[];
extern Node CF_Prelude_46RealFloat_46Prelude_46Float[];
extern Node FN_Prelude_46floatRadix[];
extern Node FN_Prelude_46Fractional_46Ratio_46Ratio[];
extern Node FN_Ratio_46_37[];
extern Node FN_Prelude_46_94_94[];
extern Node CF_Prelude_46Integral_46Prelude_46Int[];
extern Node FN_Prelude_46Num_46Ratio_46Ratio_46_42[];
extern Node FN_Prelude_46RealFrac_46Ratio_46Ratio_46round[];
extern Node FN_Prelude_46RealFloat_46Prelude_46Float_46encodeFloat[];
extern Node FN_Prelude_46_95_46recip[];
extern Node CF_Prelude_46Fractional_46Prelude_46Float[];
extern Node CF_Prelude_46Num_46Prelude_46Float[];

static Node startLabel[] = {
  bytes2word(1,0,0,1)
, useLabel(CT_v278)
,};
Node FN_Prelude_46Fractional_46Prelude_46Float_46fromRational[] = {
  useLabel(TM_Prelude)
, bytes2word(NEEDHEAP_I32,HEAP_CVAL_I3,HEAP_OFF_P1,2)
, bytes2word(HEAP_ARG,1,PUSH_HEAP,HEAP_CVAL_I4)
, bytes2word(HEAP_OFF_N1,4,HEAP_OFF_P1,21)
, bytes2word(HEAP_CVAL_I5,HEAP_CVAL_P1,6,HEAP_CVAL_P1)
, bytes2word(7,HEAP_ARG,1,HEAP_CVAL_P1)
, bytes2word(8,HEAP_OFF_N1,4,HEAP_CVAL_P1)
, bytes2word(9,HEAP_OFF_N1,7,HEAP_OFF_N1)
, bytes2word(4,HEAP_OFF_N1,12,HEAP_CVAL_P1)
, bytes2word(10,HEAP_CVAL_P1,7,HEAP_ARG)
, bytes2word(1,HEAP_CVAL_P1,8,HEAP_OFF_N1)
, bytes2word(4,HEAP_CVAL_P1,11,HEAP_OFF_N1)
, bytes2word(10,HEAP_OFF_N1,4,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,12,HEAP_OFF_N1,4)
, bytes2word(PUSH_HEAP,HEAP_CVAL_P1,13,HEAP_OFF_N1)
, bytes2word(3,PUSH_P1,2,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 110003
, useLabel(ST_v277)
,	/* CT_v278: (byte 0) */
  HW(11,1)
, 0
,};
Node F0_Prelude_46Fractional_46Prelude_46Float_46fromRational[] = {
  CAPTAG(useLabel(FN_Prelude_46Fractional_46Prelude_46Float_46fromRational),1)
, CAPTAG(useLabel(FN_Prelude_46Prelude_46166_46ff),1)
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, VAPTAG(useLabel(FN_Prelude_46asTypeOf))
, VAPTAG(useLabel(FN_Ratio_46numerator))
, useLabel(CF_Prelude_46Integral_46Prelude_46Integer)
, VAPTAG(useLabel(FN_Prelude_46Num_46Prelude_46Float_46fromInteger))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply2))
, VAPTAG(useLabel(FN_Ratio_46denominator))
, VAPTAG(useLabel(FN_Prelude_46Fractional_46Prelude_46Float_46_47))
, VAPTAG(useLabel(FN_Prelude_46RealFloat_46Prelude_46Float_46decodeFloat))
, VAPTAG(useLabel(FN_LAMBDA275))
, bytes2word(3,0,2,1)
, bytes2word(1,2,0,3)
, useLabel(CT_v282)
,	/* FN_Prelude_46Prelude_46166_46ff: (byte 0) */
  useLabel(TMSUB_Prelude)
, bytes2word(NEEDHEAP_P1,39,PUSH_HEAP,HEAP_CVAL_I3)
, bytes2word(HEAP_CVAL_I4,HEAP_P1,0,PUSH_HEAP)
, bytes2word(HEAP_CVAL_I5,HEAP_OFF_N1,3,HEAP_ARG)
, bytes2word(1,HEAP_CVAL_P1,6,HEAP_CVAL_P1)
, bytes2word(7,HEAP_CVAL_P1,8,HEAP_CVAL_P1)
, bytes2word(7,HEAP_CADR_N1,4,HEAP_P1)
, bytes2word(0,HEAP_CVAL_P1,9,HEAP_OFF_N1)
, bytes2word(7,HEAP_CVAL_P1,10,HEAP_OFF_N1)
, bytes2word(7,HEAP_ARG,3,HEAP_CVAL_P1)
, bytes2word(11,HEAP_CVAL_P1,7,HEAP_ARG)
, bytes2word(2,HEAP_OFF_N1,8,HEAP_CVAL_P1)
, bytes2word(12,HEAP_CVAL_P1,7,HEAP_CVAL_P1)
, bytes2word(7,HEAP_OFF_N1,7,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,13,HEAP_OFF_N1,5)
, bytes2word(HEAP_ARG,3,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(14,HEAP_I1,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(15,HEAP_OFF_N1,3,PUSH_ZAP_ARG_I3)
, bytes2word(ZAP_STACK_P1,5,ZAP_STACK_P1,4)
, bytes2word(ZAP_STACK_P1,2,EVAL,PUSH_I1)
, bytes2word(EVAL,NEEDHEAP_I32,EQ_W,JUMPFALSE)
, bytes2word(5,0,PUSH_P1,2)
,	/* v279: (byte 1) */
  bytes2word(RETURN_EVAL,PUSH_HEAP,HEAP_CVAL_P1,16)
, bytes2word(HEAP_ARG_ARG,1,2,HEAP_I1)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, CONSTRW(1,0)
, 1
, 130013
, useLabel(ST_v281)
,	/* CT_v282: (byte 0) */
  HW(14,3)
, 0
,	/* F0_Prelude_46Prelude_46166_46ff: (byte 0) */
  CAPTAG(useLabel(FN_Prelude_46Prelude_46166_46ff),3)
, useLabel(CF_Prelude_46RealFloat_46Prelude_46Float)
, VAPTAG(useLabel(FN_Prelude_46floatRadix))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, VAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio))
, useLabel(CF_Prelude_46Integral_46Prelude_46Integer)
, VAPTAG(useLabel(FN_Ratio_46_37))
, VAPTAG(useLabel(FN_Prelude_46_94_94))
, useLabel(CF_Prelude_46Integral_46Prelude_46Int)
, VAPTAG(useLabel(FN_Prelude_46Num_46Ratio_46Ratio_46_42))
, VAPTAG(useLabel(FN_Prelude_46RealFrac_46Ratio_46Ratio_46round))
, VAPTAG(useLabel(FN_Prelude_46RealFloat_46Prelude_46Float_46encodeFloat))
, VAPTAG(useLabel(FN_Prelude_46RealFloat_46Prelude_46Float_46decodeFloat))
, VAPTAG(useLabel(FN_LAMBDA274))
, VAPTAG(useLabel(FN_Prelude_46Prelude_46166_46ff))
, bytes2word(1,0,0,1)
, useLabel(CT_v284)
,	/* FN_LAMBDA274: (byte 0) */
  useLabel(TMSUB_Prelude)
, bytes2word(NEEDSTACK_I16,SELECTOR_EVAL,SELECT,2)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 160029
, useLabel(ST_v283)
,	/* CT_v284: (byte 0) */
  HW(0,1)
, 0
,	/* F0_LAMBDA274: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA274),1)
, bytes2word(1,0,0,1)
, useLabel(CT_v286)
,	/* FN_LAMBDA275: (byte 0) */
  useLabel(TMSUB_Prelude)
, bytes2word(NEEDSTACK_I16,SELECTOR_EVAL,SELECT,2)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 180016
, useLabel(ST_v285)
,	/* CT_v286: (byte 0) */
  HW(0,1)
, 0
,	/* F0_LAMBDA275: (byte 0) */
  CAPTAG(useLabel(FN_LAMBDA275),1)
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v288)
,};
Node FN_Prelude_46Fractional_46Prelude_46Float_46_47[] = {
  useLabel(TM_Prelude)
, bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I2,EVAL,PUSH_ZAP_ARG_I1)
, bytes2word(EVAL,NEEDHEAP_I32,SLASH_F,RETURN)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 100003
, useLabel(ST_v287)
,	/* CT_v288: (byte 0) */
  HW(0,2)
, 0
,};
Node F0_Prelude_46Fractional_46Prelude_46Float_46_47[] = {
  CAPTAG(useLabel(FN_Prelude_46Fractional_46Prelude_46Float_46_47),2)
, bytes2word(1,0,0,1)
, useLabel(CT_v290)
,};
Node FN_Prelude_46Fractional_46Prelude_46Float_46recip[] = {
  useLabel(TM_Prelude)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_CVAL_I4)
, bytes2word(HEAP_ARG,1,RETURN_EVAL,ENDCODE)
, bytes2word(0,0,0,0)
, 90011
, useLabel(ST_v289)
,	/* CT_v290: (byte 0) */
  HW(2,1)
, 0
,};
Node F0_Prelude_46Fractional_46Prelude_46Float_46recip[] = {
  CAPTAG(useLabel(FN_Prelude_46Fractional_46Prelude_46Float_46recip),1)
, VAPTAG(useLabel(FN_Prelude_46_95_46recip))
, useLabel(CF_Prelude_46Fractional_46Prelude_46Float)
, bytes2word(0,0,0,0)
, useLabel(CT_v292)
,};
Node FN_Prelude_46Fractional_46Prelude_46Float[] = {
  useLabel(TM_Prelude)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_IN3,HEAP_CVAL_I3)
, bytes2word(HEAP_CVAL_I4,HEAP_CVAL_I5,HEAP_CVAL_P1,6)
, bytes2word(RETURN,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,4,0)
, 90011
, useLabel(ST_v291)
,	/* CT_v292: (byte 0) */
  HW(4,0)
, 0
,};
Node CF_Prelude_46Fractional_46Prelude_46Float[] = {
  VAPTAG(useLabel(FN_Prelude_46Fractional_46Prelude_46Float))
, useLabel(CF_Prelude_46Num_46Prelude_46Float)
, useLabel(F0_Prelude_46Fractional_46Prelude_46Float_46_47)
, useLabel(F0_Prelude_46Fractional_46Prelude_46Float_46fromRational)
, useLabel(F0_Prelude_46Fractional_46Prelude_46Float_46recip)
,	/* ST_v291: (byte 0) */
  bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(70,114,97,99)
, bytes2word(116,105,111,110)
, bytes2word(97,108,46,80)
, bytes2word(114,101,108,117)
, bytes2word(100,101,46,70)
, bytes2word(108,111,97,116)
,	/* ST_v287: (byte 1) */
  bytes2word(0,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,70,114,97)
, bytes2word(99,116,105,111)
, bytes2word(110,97,108,46)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(70,108,111,97)
,	/* ST_v277: (byte 4) */
  bytes2word(116,46,47,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(70,114,97,99)
, bytes2word(116,105,111,110)
, bytes2word(97,108,46,80)
, bytes2word(114,101,108,117)
, bytes2word(100,101,46,70)
, bytes2word(108,111,97,116)
, bytes2word(46,102,114,111)
, bytes2word(109,82,97,116)
, bytes2word(105,111,110,97)
,	/* ST_v281: (byte 2) */
  bytes2word(108,0,80,114)
, bytes2word(101,108,117,100)
, bytes2word(101,46,70,114)
, bytes2word(97,99,116,105)
, bytes2word(111,110,97,108)
, bytes2word(46,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,70,108,111)
, bytes2word(97,116,46,102)
, bytes2word(114,111,109,82)
, bytes2word(97,116,105,111)
, bytes2word(110,97,108,58)
, bytes2word(49,51,58,49)
, bytes2word(51,45,49,55)
,	/* ST_v283: (byte 4) */
  bytes2word(58,52,56,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(70,114,97,99)
, bytes2word(116,105,111,110)
, bytes2word(97,108,46,80)
, bytes2word(114,101,108,117)
, bytes2word(100,101,46,70)
, bytes2word(108,111,97,116)
, bytes2word(46,102,114,111)
, bytes2word(109,82,97,116)
, bytes2word(105,111,110,97)
, bytes2word(108,58,49,54)
, bytes2word(58,50,57,45)
, bytes2word(49,54,58,51)
,	/* ST_v285: (byte 2) */
  bytes2word(49,0,80,114)
, bytes2word(101,108,117,100)
, bytes2word(101,46,70,114)
, bytes2word(97,99,116,105)
, bytes2word(111,110,97,108)
, bytes2word(46,80,114,101)
, bytes2word(108,117,100,101)
, bytes2word(46,70,108,111)
, bytes2word(97,116,46,102)
, bytes2word(114,111,109,82)
, bytes2word(97,116,105,111)
, bytes2word(110,97,108,58)
, bytes2word(49,56,58,49)
, bytes2word(54,45,49,56)
,	/* ST_v289: (byte 4) */
  bytes2word(58,49,55,0)
, bytes2word(80,114,101,108)
, bytes2word(117,100,101,46)
, bytes2word(70,114,97,99)
, bytes2word(116,105,111,110)
, bytes2word(97,108,46,80)
, bytes2word(114,101,108,117)
, bytes2word(100,101,46,70)
, bytes2word(108,111,97,116)
, bytes2word(46,114,101,99)
, bytes2word(105,112,0,0)
,};

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].