Class: SQLParser::Statement::ApproximateFloat
- Defined in:
- lib/rossoc/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.
Methods inherited from Node
Constructor Details
#initialize(mantissa, exponent) ⇒ ApproximateFloat
441 442 443 444 |
# File 'lib/rossoc/statement.rb', line 441 def initialize(mantissa, exponent) @mantissa = mantissa @exponent = exponent end |
Instance Attribute Details
#exponent ⇒ Object (readonly)
Returns the value of attribute exponent.
446 447 448 |
# File 'lib/rossoc/statement.rb', line 446 def exponent @exponent end |
#mantissa ⇒ Object (readonly)
Returns the value of attribute mantissa.
446 447 448 |
# File 'lib/rossoc/statement.rb', line 446 def mantissa @mantissa end |