com.legstar.coxb.host
Class HostDouble

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

public class HostDouble
extends Object

Helper class to hold components of a double.

Author:
Fady Moussallam

Constructor Summary
HostDouble()
           
 
Method Summary
 int getExponent()
           
 long getMantissa()
           
 int getSign()
           
 void setExponent(int exponent)
           
 void setMantissa(long 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

HostDouble

public HostDouble()
Method Detail

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.