lib/flt/support.rb in flt-1.1.1 vs lib/flt/support.rb in flt-1.1.2
- old
+ new
@@ -481,10 +481,10 @@
else
if context.num_class == Float
float = true
context = BinNum::FloatContext
end
- x = context.num_class.context(context) do |loca_context|
+ x = context.num_class.context(context) do |local_context|
local_context.rounding = round_mode
Num.convert_exact(Num[eb].Num(sign, f, e), local_context.num_class, local_context)
end
if float
x = x.to_f