com.legstar.coxb.host
Class HostDouble
java.lang.Object
com.legstar.coxb.host.HostDouble
public class HostDouble
- extends Object
Helper class to hold components of a double.
- Author:
- Fady Moussallam
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostDouble
public HostDouble()
getExponent
public int getExponent()
- Returns:
- Returns the exponent.
setExponent
public void setExponent(int exponent)
- Parameters:
exponent
- The exponent to set.
getMantissa
public long getMantissa()
- Returns:
- Returns the mantissa.
setMantissa
public void setMantissa(long mantissa)
- Parameters:
mantissa
- The mantissa to set.
getSign
public int getSign()
- Returns:
- Returns the sign.
setSign
public void setSign(int sign)
- Parameters:
sign
- The sign to set.
Copyright © 2015 LegSem. All Rights Reserved.