Class: CmisServer::Query::Statement::ApproximateFloat
- Defined in:
- lib/cmis_server/query/statement.rb
Instance Attribute Summary collapse
-
#exponent ⇒ Object
readonly
Returns the value of attribute exponent.
-
#mantissa ⇒ Object
readonly
Returns the value of attribute mantissa.
Instance Method Summary collapse
-
#initialize(mantissa, exponent) ⇒ ApproximateFloat
constructor
A new instance of ApproximateFloat.
Constructor Details
#initialize(mantissa, exponent) ⇒ ApproximateFloat
Returns a new instance of ApproximateFloat.
341 342 343 344 |
# File 'lib/cmis_server/query/statement.rb', line 341 def initialize(mantissa, exponent) @mantissa = mantissa @exponent = exponent end |
Instance Attribute Details
#exponent ⇒ Object (readonly)
Returns the value of attribute exponent.
347 348 349 |
# File 'lib/cmis_server/query/statement.rb', line 347 def exponent @exponent end |
#mantissa ⇒ Object (readonly)
Returns the value of attribute mantissa.
346 347 348 |
# File 'lib/cmis_server/query/statement.rb', line 346 def mantissa @mantissa end |