Changeset 3588


Ignore:
Timestamp:
09/06/03 16:10:17 (19 years ago)
Author:
piso
Message:

floatValue(): return numerator.doubleValue() / denominator.doubleValue().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/j/src/org/armedbear/lisp/Ratio.java

    r3587 r3588  
    33 *
    44 * Copyright (C) 2003 Peter Graves
    5  * $Id: Ratio.java,v 1.27 2003-09-06 14:09:11 piso Exp $
     5 * $Id: Ratio.java,v 1.28 2003-09-06 16:10:17 piso Exp $
    66 *
    77 * This program is free software; you can redistribute it and/or
     
    132132    public double floatValue()
    133133    {
    134         return numerator.floatValue() / denominator.floatValue();
     134        return numerator.doubleValue() / denominator.doubleValue();
    135135    }
    136136
Note: See TracChangeset for help on using the changeset viewer.