Java Supercompiler. Version 0.0.75. Copyright (c) 2001 Supercompilers, LLC. /* Supercompilation options -------------------------------------------------------------------- internal option name | command line option = value -------------------------------------------------------------------- method | -method <method identifier> = test allMethods | -allMethods, -allm, -am = false destinationDir | -destination <directory> = invokeLimit | -invoke<n>, -i<n> = no recurLimit | -recur<n>, -r<n> = 5 arrayLimit | -arrayLimit<n>, -al<n> = 10 joinLabeled | -joinLabeled, -jla, -join, -j = false joinTree | -joinLoop, -jl, -join, -j = false joinTreeR | -joinIf, -ji, -join, -j = false unfoldLoopNumber | -loop<n>, -l<n> = 0 unfoldLoop_Empty () | -unfoldLoopEmpty, -ule, -ul1 = true unfoldLoop_Linear () | -unfoldLoopLinear, -ull, -ul2 = true unfoldLoop_NoBreak () | -unfoldLoopNoBreak, -ulnb, -ul = true defaultArrayElements | -[no]defaultArrayElements, -[no]dae = true multiplyZeroFP | -[no]multiplyZeroFP, -[no]mzfp = true changeAccessOrder | -[no]changeAccessOrder, -[no]cao = true --------------------------------------------------------------------*/ //-------------------------------------- 0 sec - field HappyTickets.notation //-------------------------------------- 0 sec - postprocessing... public static final int notation = 2; //-------------------------------------- 0 sec - field HappyTickets.lengthTicket //-------------------------------------- 0 sec - postprocessing... public static final int lengthTicket = 6; //-------------------------------------- 0 sec - field HappyTickets.c28 //-------------------------------------- 0 sec - postprocessing... public static final int c28 = 4; //-------------------------------------- 0 sec - field HappyTickets.Compl1 //-------------------------------------- 0 sec - field ORG.netlib.math.complex.Complex.VERSION //-------------------------------------- 0 sec - postprocessing... public static final java.lang.String VERSION = "1.0.1"; //-------------------------------------- 0 sec - field ORG.netlib.math.complex.Complex.DATE //-------------------------------------- 0 sec - postprocessing... public static final java.lang.String DATE = "Fri 23-Mar-2001 8:56 pm"; //-------------------------------------- 0 sec - field ORG.netlib.math.complex.Complex.AUTHOR //-------------------------------------- 0 sec - postprocessing... public static final java.lang.String AUTHOR = "sandy@almide.demon.co.uk"; //-------------------------------------- 0 sec - field ORG.netlib.math.complex.Complex.REMARK //-------------------------------------- 0 sec - postprocessing... public static final java.lang.String REMARK = "Class available from http://www.netlib.org/"; //-------------------------------------- 0 sec - field ORG.netlib.math.complex.Complex.TWO_PI //-------------------------------------- 0 sec - postprocessing... protected static final double TWO_PI = 2D * java.lang.Math.PI; //-------------------------------------- 0 sec - field ORG.netlib.math.complex.Complex.i //-------------------------------------- 0 sec - postprocessing... public static final ORG.netlib.math.complex.Complex i = { final ORG.netlib.math.complex.Complex i_11 = new ORG.netlib.math.complex.Complex(0D, 1D); //- this is i_11 = new ORG.netlib.math.complex.Complex(0D, 1D) // i_11.re = 0D; // i_11.im = 1D; return i_11; } //-------------------------------------- 0 sec - postprocessing... public static final ORG.netlib.math.complex.Complex Compl1 = { final ORG.netlib.math.complex.Complex Compl1_15 = new ORG.netlib.math.complex.Complex(1D, 0D); //- this is Compl1_15 = new ORG.netlib.math.complex.Complex(1D, 0D) // Compl1_15.re = 1D; // Compl1_15.im = 0D; return Compl1_15; } //-------------------------------------- 0 sec - field HappyTickets.Compl0 //-------------------------------------- 0 sec - postprocessing... public static final ORG.netlib.math.complex.Complex Compl0 = { final ORG.netlib.math.complex.Complex Compl0_19 = new ORG.netlib.math.complex.Complex(0D, 0D); //- this is Compl0_19 = new ORG.netlib.math.complex.Complex(0D, 0D) // Compl0_19.re = 0D; // Compl0_19.im = 0D; return Compl0_19; } //-------------------------------------- 0 sec - field HappyTickets.i2pi //-------------------------------------- 0 sec - postprocessing... public static final ORG.netlib.math.complex.Complex i2pi = { final double im_24 = 2D * java.lang.Math.PI; final ORG.netlib.math.complex.Complex i2pi_25 = new ORG.netlib.math.complex.Complex(0D, im_24); //- this is i2pi_25 = new ORG.netlib.math.complex.Complex(0D, im_24) // i2pi_25.re = 0D; // i2pi_25.im = im_24; return i2pi_25; } //-------------------------------------- 0 sec - method HappyTickets.test(int) //-------------------------------------- 1 sec - postprocessing... public static ORG.netlib.math.complex.Complex test (final int numberSteps1_29) { final double st_33 = 2D * java.lang.Math.PI / (double)numberSteps1_29; final double re_34 = java.lang.Math.cos(st_33) /*static*/; final double im_35 = java.lang.Math.sin(st_33) /*static*/; final ORG.netlib.math.complex.Complex res_39 = new ORG.netlib.math.complex.Complex(0D, 0D); //- this is res_39 = new ORG.netlib.math.complex.Complex(0D, 0D) // res_39.re = 0D; // res_39.im = 0D; final ORG.netlib.math.complex.Complex epsr_42 = new ORG.netlib.math.complex.Complex(1D, 0D); //- this is epsr_42 = new ORG.netlib.math.complex.Complex(1D, 0D) // epsr_42.re = 1D; // epsr_42.im = 0D; ORG.netlib.math.complex.Complex res_261 = res_39; ORG.netlib.math.complex.Complex epsr_260 = epsr_42; int it_259 = 0; while (it_259 < numberSteps1_29) { final double re_282 = re_34 * epsr_260.re - im_35 * epsr_260.im - epsr_260.re; final double im_284 = re_34 * epsr_260.im + im_35 * epsr_260.re - epsr_260.im; final double im_304 = epsr_260.im; final double re_317 = 1D + epsr_260.re; final double re_363 = re_317 * re_317 - im_304 * im_304; final double im_366 = re_317 * im_304 + im_304 * re_317; final double re_379 = re_363 * re_317 - im_366 * im_304; final double im_382 = re_363 * im_304 + im_366 * re_317; final double re_395 = re_379 * re_317 - im_382 * im_304; final double im_398 = re_379 * im_304 + im_382 * re_317; final double re_411 = re_395 * re_317 - im_398 * im_304; final double im_414 = re_395 * im_304 + im_398 * re_317; final double re_427 = re_411 * re_317 - im_414 * im_304; final double im_430 = re_411 * im_304 + im_414 * re_317; final double re_453 = epsr_260.re; final double im_455 = epsr_260.im; final double re_471 = re_453 * epsr_260.re - im_455 * epsr_260.im; final double im_476 = re_453 * epsr_260.im + im_455 * epsr_260.re; final double re_491 = re_471 * epsr_260.re - im_476 * epsr_260.im; final double im_496 = re_471 * epsr_260.im + im_476 * epsr_260.re; final double re_511 = re_491 * epsr_260.re - im_496 * epsr_260.im; final double im_533 = -(re_491 * epsr_260.im + im_496 * epsr_260.re); final double re_541 = re_427 * re_511 - im_430 * im_533; final double im_544 = re_427 * im_533 + im_430 * re_511; final double re_563 = re_282 * re_541 - im_284 * im_544 + res_261.re; final double im_565 = re_282 * im_544 + im_284 * re_541 + res_261.im; final ORG.netlib.math.complex.Complex res_566 = new ORG.netlib.math.complex.Complex(re_563, im_565); //- this is res_566 = new ORG.netlib.math.complex.Complex(re_563, im_565) // res_566.re = re_563; // res_566.im = im_565; final double re_575 = re_34 * epsr_260.re - im_35 * epsr_260.im; final double im_580 = re_34 * epsr_260.im + im_35 * epsr_260.re; final ORG.netlib.math.complex.Complex epsr_581 = new ORG.netlib.math.complex.Complex(re_575, im_580); //- this is epsr_581 = new ORG.netlib.math.complex.Complex(re_575, im_580) // epsr_581.re = re_575; // epsr_581.im = im_580; it_259++; epsr_260 = epsr_581; res_261 = res_566; continue;} /*while*/ return res_261; } //-------------------------------------- 2 sec - JScp version 0.0.75