Libraries
»
FixedPt
(0.0.1)
»
Index (N)
»
Numeric
Class: Numeric
Inherits:
Object
Object
Numeric
show all
Defined in:
lib/fixedpt/fixedpt.rb
Instance Method Summary
collapse
#
to_fp
(wid, binpt) ⇒ Object
Instance Method Details
#
to_fp
(wid, binpt) ⇒
Object
2 3 4
# File 'lib/fixedpt/fixedpt.rb', line 2
def
to_fp
(
wid
,
binpt
)
FixedPt
.
new
(
self
,
wid
,
binpt
)
end