
FixToDouble |
ptolemy.actor.lib.conversions.FixToDouble |
This actor converts a FixToken into a DoubleToken. This conversion is
explicitly provided because there is no lossless conversion
between these two types in the type lattice, and thus the type system
does not do this conversion automatically. Although the conversion
might be lossless, a FixToken can, in principle, have
arbitrary precision, and thus can exceed the capabilities of a double.
Author(s): Bart Kienhuis and Edward A. Lee
Version:$Id: FixToDouble.java,v 1.49 2006/05/08 05:28:15 neuendor Exp $
Pt.Proposed Rating:Green (pwhitake)
Pt.Accepted Rating:Green (pwhitake)