The 'd' simply declares those numbers to be double rather than integer.

-jason

On Jan 31, 2009, at 4:19 AM, pasqual wrote:

>
> good call Jason.  i should have remembered that:
> pow(x, 1/3)  ==  cbrt(x)
>
> I'm not sure what 'd' represents though.
>
>
> On Jan 30, 5:51 pm, Jason Essington <[email protected]> wrote:
>> Math.pow(someNumber, 1d/3d); doesn't work for you?
>>
>> -jason
>>
>> On Jan 30, 2009, at 4:11 PM, pasqual wrote:
>>
>>
>>
>>> the Math class cube root, Math.cbrt(x), is not implemented in  
>>> GWT.  I
>>> have some JS that works, using the Newton method, but I am wondering
>>> about the best way to add it to the existing JSNI impl:  Math  
>>> class is
>>> final so I can't extend it.  Any suggestions?
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to