* @return double
   */
  public static double base60ToFloat(Cons l) {
    { NumberWrapper dvalue = ((NumberWrapper)(l.value));
      NumberWrapper mvalue = ((NumberWrapper)(l.rest.value));
      NumberWrapper svalue = ((NumberWrapper)(l.rest.rest.value));
      double d = 0.0;

      { Surrogate testValue000 = Stella_Object.safePrimaryType(dvalue);

        if (Surrogate.subtypeOfFloatP(testValue000)) {
          { FloatWrapper dvalue000 = ((FloatWrapper)(dvalue));

            d = dvalue000.wrapperValue;
          }
        }
        else if (Surrogate.subtypeOfIntegerP(testValue000)) {
          { IntegerWrapper dvalue000 = ((IntegerWrapper)(dvalue));

            d = dvalue000.numberWrapperToFloat();
          }
        }
        else {
          { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

            stream000.nativeStream.print("`" + testValue000 + "' is not a valid case option");
            throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
          }
        }
      }
      { Surrogate testValue001 = Stella_Object.safePrimaryType(mvalue);

        if (Surrogate.subtypeOfFloatP(testValue001)) {
          { FloatWrapper mvalue000 = ((FloatWrapper)(mvalue));

            d = d + (mvalue000.wrapperValue / 60.0);
          }
        }
        else if (Surrogate.subtypeOfIntegerP(testValue001)) {
          { IntegerWrapper mvalue000 = ((IntegerWrapper)(mvalue));

            d = d + (mvalue000.wrapperValue / 60.0);
          }
        }
        else {
          { OutputStringStream stream001 = OutputStringStream.newOutputStringStream();

            stream001.nativeStream.print("`" + testValue001 + "' is not a valid case option");
            throw ((StellaException)(StellaException.newStellaException(stream001.theStringReader()).fillInStackTrace()));
          }
        }
      }
      { Surrogate testValue002 = Stella_Object.safePrimaryType(svalue);

        if (Surrogate.subtypeOfFloatP(testValue002)) {
          { FloatWrapper svalue000 = ((FloatWrapper)(svalue));

            d = d + (svalue000.wrapperValue / 3600.0);
          }
        }
        else if (Surrogate.subtypeOfIntegerP(testValue002)) {
          { IntegerWrapper svalue000 = ((IntegerWrapper)(svalue));

            d = d + (svalue000.wrapperValue / 3600.0);
          }
        }
        else {
          { OutputStringStream stream002 = OutputStringStream.newOutputStringStream();

            stream002.nativeStream.print("`" + testValue002 + "' is not a valid case option");
            throw ((StellaException)(StellaException.newStellaException(stream002.theStringReader()).fillInStackTrace()));
          }
        }
      }
      return (d);
    }
  }