Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/Ratio/Fractional_Ratio.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_v257	((void*)startLabel+92)
#define CT_v262	((void*)startLabel+164)
#define CT_v270	((void*)startLabel+264)
#define CT_v272	((void*)startLabel+356)
#define ST_v271	((void*)startLabel+384)
#define ST_v267	((void*)startLabel+415)
#define ST_v255	((void*)startLabel+448)
#define ST_v260	((void*)startLabel+492)
extern Node TM_Ratio[];
extern Node FN_Prelude_46Integral_46Prelude_46Real[];
extern Node FN_Prelude_46Real_46Prelude_46Num[];
extern Node FN_Prelude_46fromInteger[];
extern Node FN_NHC_46Internal_46_95apply1[];
extern Node FN_Ratio_46_37[];
extern Node FN_Prelude_46_42[];
extern Node FN_NHC_46Internal_46_95apply2[];
extern Node FN_Prelude_46Num_46Ratio_46Ratio[];

static Node startLabel[] = {
  bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v257)
,};
Node FN_Prelude_46Fractional_46Ratio_46Ratio_46fromRational[] = {
  useLabel(TM_Ratio)
, bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I2,EVAL,NEEDHEAP_I32)
, bytes2word(UNPACK,2,HEAP_CVAL_I3,HEAP_ARG)
, bytes2word(1,HEAP_CVAL_I4,HEAP_OFF_N1,3)
, bytes2word(HEAP_CVAL_I5,HEAP_OFF_N1,3,PUSH_HEAP)
, bytes2word(HEAP_CVAL_P1,6,HEAP_OFF_N1,3)
, bytes2word(HEAP_I1,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,3,HEAP_CVAL_I5)
, bytes2word(HEAP_OFF_N1,3,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(6,HEAP_OFF_N1,3,HEAP_P1)
, bytes2word(3,PUSH_I1,ZAP_ARG_I1,ZAP_STACK_P1)
, bytes2word(4,ZAP_STACK_P1,3,EVAL)
, bytes2word(POP_I1,PUSH_P1,0,EVAL)
, bytes2word(NEEDHEAP_I32,POP_I1,PUSH_HEAP,HEAP_CVAL_IN3)
, bytes2word(HEAP_I2,HEAP_I1,RETURN,ENDCODE)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,2,0)
, 110005
, useLabel(ST_v255)
,	/* CT_v257: (byte 0) */
  HW(4,2)
, 0
,};
Node F0_Prelude_46Fractional_46Ratio_46Ratio_46fromRational[] = {
  CAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio_46fromRational),2)
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Real))
, VAPTAG(useLabel(FN_Prelude_46Real_46Prelude_46Num))
, VAPTAG(useLabel(FN_Prelude_46fromInteger))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply1))
, bytes2word(0,0,2,0)
, bytes2word(1,1,0,2)
, useLabel(CT_v262)
,};
Node FN_Prelude_46Fractional_46Ratio_46Ratio_46recip[] = {
  useLabel(TM_Ratio)
, bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I2,EVAL,NEEDHEAP_I32)
, bytes2word(UNPACK,2,PUSH_HEAP,HEAP_CVAL_I3)
, bytes2word(HEAP_ARG,1,HEAP_I2,HEAP_I1)
, bytes2word(RETURN_EVAL,ENDCODE,0,0)
, bytes2word(0,0,0,0)
, 100005
, useLabel(ST_v260)
,	/* CT_v262: (byte 0) */
  HW(1,2)
, 0
,};
Node F0_Prelude_46Fractional_46Ratio_46Ratio_46recip[] = {
  CAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio_46recip),2)
, VAPTAG(useLabel(FN_Ratio_46_37))
, bytes2word(3,0,2,1)
, bytes2word(1,2,0,3)
, useLabel(CT_v270)
,};
Node FN_Prelude_46Fractional_46Ratio_46Ratio_46_47[] = {
  useLabel(TM_Ratio)
, bytes2word(NEEDSTACK_I16,PUSH_ZAP_ARG_I2,EVAL,UNPACK)
, bytes2word(2,PUSH_ZAP_ARG_I3,EVAL,NEEDHEAP_I32)
, bytes2word(UNPACK,2,HEAP_CVAL_I3,HEAP_ARG)
, bytes2word(1,HEAP_CVAL_I4,HEAP_OFF_N1,3)
, bytes2word(HEAP_CVAL_I5,HEAP_OFF_N1,3,HEAP_CVAL_P1)
, bytes2word(6,HEAP_OFF_N1,3,HEAP_I2)
, bytes2word(HEAP_I1,HEAP_CVAL_I3,HEAP_ARG,1)
, bytes2word(HEAP_CVAL_I4,HEAP_OFF_N1,3,HEAP_CVAL_I5)
, bytes2word(HEAP_OFF_N1,3,HEAP_CVAL_P1,6)
, bytes2word(HEAP_OFF_N1,3,HEAP_P1,3)
, bytes2word(HEAP_P1,0,PUSH_HEAP,HEAP_CVAL_P1)
, bytes2word(7,HEAP_ARG,1,HEAP_OFF_N1)
, bytes2word(16,HEAP_OFF_N1,7,RETURN_EVAL)
, bytes2word(ENDCODE,0,0,0)
, bytes2word(0,0,0,0)
, 90005
, useLabel(ST_v267)
,	/* CT_v270: (byte 0) */
  HW(5,3)
, 0
,};
Node F0_Prelude_46Fractional_46Ratio_46Ratio_46_47[] = {
  CAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio_46_47),3)
, VAPTAG(useLabel(FN_Prelude_46Integral_46Prelude_46Real))
, VAPTAG(useLabel(FN_Prelude_46Real_46Prelude_46Num))
, VAPTAG(useLabel(FN_Prelude_46_42))
, VAPTAG(useLabel(FN_NHC_46Internal_46_95apply2))
, VAPTAG(useLabel(FN_Ratio_46_37))
, bytes2word(1,0,0,1)
, useLabel(CT_v272)
,};
Node FN_Prelude_46Fractional_46Ratio_46Ratio[] = {
  useLabel(TM_Ratio)
, bytes2word(NEEDHEAP_I32,PUSH_HEAP,HEAP_CVAL_I3,HEAP_ARG)
, bytes2word(1,PUSH_HEAP,HEAP_CVAL_I4,HEAP_ARG)
, bytes2word(1,PUSH_HEAP,HEAP_CVAL_I5,HEAP_ARG)
, bytes2word(1,PUSH_HEAP,HEAP_CVAL_P1,6)
, bytes2word(HEAP_ARG,1,PUSH_HEAP,HEAP_CVAL_IN3)
, bytes2word(HEAP_P1,4,HEAP_P1,3)
, bytes2word(HEAP_I2,HEAP_I1,RETURN,ENDCODE)
, bytes2word(0,0,0,0)
, 0
, CONSTR(0,4,0)
, 80028
, useLabel(ST_v271)
,	/* CT_v272: (byte 0) */
  HW(4,1)
, 0
,};
Node F0_Prelude_46Fractional_46Ratio_46Ratio[] = {
  CAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio),1)
, VAPTAG(useLabel(FN_Prelude_46Num_46Ratio_46Ratio))
, CAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio_46_47),2)
, CAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio_46fromRational),1)
, CAPTAG(useLabel(FN_Prelude_46Fractional_46Ratio_46Ratio_46recip),1)
,	/* ST_v271: (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,82)
, bytes2word(97,116,105,111)
, bytes2word(46,82,97,116)
,	/* ST_v267: (byte 3) */
  bytes2word(105,111,0,80)
, bytes2word(114,101,108,117)
, bytes2word(100,101,46,70)
, bytes2word(114,97,99,116)
, bytes2word(105,111,110,97)
, bytes2word(108,46,82,97)
, bytes2word(116,105,111,46)
, bytes2word(82,97,116,105)
,	/* ST_v255: (byte 4) */
  bytes2word(111,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,82)
, bytes2word(97,116,105,111)
, bytes2word(46,82,97,116)
, bytes2word(105,111,46,102)
, bytes2word(114,111,109,82)
, bytes2word(97,116,105,111)
,	/* ST_v260: (byte 4) */
  bytes2word(110,97,108,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,82)
, bytes2word(97,116,105,111)
, bytes2word(46,82,97,116)
, bytes2word(105,111,46,114)
, bytes2word(101,99,105,112)
, bytes2word(0,0,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].