thanks, I think I found the problem -- my float() function should force 
Float64


On Thursday, July 21, 2016 at 4:36:53 PM UTC-4, Jeffrey Sarnoff wrote:
>
> I thought I could specialize fix_dec(), the catchall is something like 
> `fix_dec(x::AbstractFloat, n::Int)` and I had intended to define 
> `fix_dec{P}(x::ArbFloat{P}, n::Int)`.
>
> On Thursday, July 21, 2016 at 4:31:37 PM UTC-4, Yichao Yu wrote:
>>
>> On Thu, Jul 21, 2016 at 3:42 PM, Jeffrey Sarnoff 
>> <jeffrey...@gmail.com> wrote: 
>> > I got this error 
>> > ERROR: StackOverflowError: 
>> >  in fix_dec(::ArbFloats.ArbFloat{116}, ::Int64) at ./printf.jl:932 
>> (repeats 
>> > 80000 times) 
>> > 
>> > 
>> > I tried to import Base.fix_dec, Core.fix_dec to override the definition 
>> -- 
>> > neither worked. 
>>
>> What are you trying to override? 
>> Overriding a definition and calling the old on in it isn't supported. 
>>
>

Reply via email to