com.legstar.coxb.host
Class HostFloat
java.lang.Object
com.legstar.coxb.host.HostFloat
public class HostFloat
- extends Object
Helper class to hold components of a float.
- Author:
- Fady Moussallam
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HostFloat
public HostFloat()
getExponent
public int getExponent()
- Returns:
- Returns the exponent.
setExponent
public void setExponent(int exponent)
- Parameters:
exponent
- The exponent to set.
getMantissa
public int getMantissa()
- Returns:
- Returns the mantissa.
setMantissa
public void setMantissa(int 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.