Class: Type::F64

Inherits:
Numeric show all
Defined in:
lib/rlang/parser/ext/type.rb

Constant Summary collapse

MAX =
1.7976931348623158E308

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Numeric

#type

Class Method Details

.signed?Boolean

Returns:

  • (Boolean)


49
# File 'lib/rlang/parser/ext/type.rb', line 49

def self.signed?; true; end

.sizeObject

size in bytes



52
# File 'lib/rlang/parser/ext/type.rb', line 52

def self.size; 8; end

.wasm_typeObject



53
# File 'lib/rlang/parser/ext/type.rb', line 53

def self.wasm_type; 'f64'; end

Instance Method Details

#sizeObject

size in bytes



50
# File 'lib/rlang/parser/ext/type.rb', line 50

def size; 8; end

#wasm_typeObject



51
# File 'lib/rlang/parser/ext/type.rb', line 51

def wasm_type; 'f64'; end