com.legstar.coxb.host
Class HostFloat

java.lang.Object
  extended by com.legstar.coxb.host.HostFloat

public class HostFloat
extends Object

Helper class to hold components of a float.

Author:
Fady Moussallam

Constructor Summary
HostFloat()
           
 
Method Summary
 int getExponent()
           
 int getMantissa()
           
 int getSign()
           
 void setExponent(int exponent)
           
 void setMantissa(int mantissa)
           
 void setSign(int sign)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostFloat

public HostFloat()
Method Detail

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.