Thanks John. 

with regards to your side note, I will refrain from using that word. In my 
defense, my drink-fuddled brain was very frustrated. ;)

On Friday, 6 June 2014 20:10:14 UTC-4, John Myles White wrote:
>
> You should use 10^-2.0. The way you’re trying to do things would require 
> that the power function produce different types of outputs for different 
> input values, which would make optimization/compilation difficult. 
>
> As a side note, I think you’ll find it’s more effective not to use the 
> word “stupid”. 
>
>  — John 
>
> On Jun 6, 2014, at 5:05 PM, Zahirul ALAM <[email protected] 
> <javascript:>> wrote: 
>
> > 10^2 returns 100; 
> > but 10^-2  or 10^(-2) returns  ERROR: DomainError in power_by_squaring 
> at intfuncs.jl:60  in ^ at intfuncs.jl:84 
> > 
> > do I have to use 1/10^2 instead? 
> > 
> > This seems rather stupid. is it a Bug? I am using the nightly build 
> version downloaded a couple of days ago. I am new to Julia and trying to 
> convert my a large Mathematica code in Julia. 
>
>

Reply via email to