ha, I see you just filed an issue and beat me to it. My mistake.

cosh() properly emulated:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/super/com/google/gwt/emul/java/lang/Math.java?r=7605#85

sinh() not so much:
http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/super/com/google/gwt/emul/java/lang/Math.java?r=7605#255

On Jun 2, 3:21 am, Brendan Kenny <bcke...@gmail.com> wrote:
> looks like a cool project.
>
> According to the GWT JRE emulation 
> referencehttp://code.google.com/webtoolkit/doc/latest/RefJreEmulation.html
> sinh is on the emulated Math object, but it looks like, from your
> first link, that you are calling it from javascript code. sinh() is
> *not* a function on the javascript Math object.
>
> I would
> 1) move that code to java code if you can. this will speed up
> development mode in general, make debugging a little easier, and
> sinh() will be provided for you
> 2) or, if it needs to remain in js-land, just expose a sinh() function
> for use just like the page at your first link suggests: (e^x - e^(-
> x)) / 2. Just be careful with your NaNs and Infs.
>
> On Jun 2, 2:57 am, "jamesmikedup...@googlemail.com"
>
>
>
> <jamesmikedup...@googlemail.com> wrote:
> > Hi,
> > my app is crashing from math.sinh is not a function 
> > :http://fmtyewtk.blogspot.com/2010/06/mathsinh-is-not-function.html
>
> > this should be caught in gwt.
> > deployed here :http://xhema.flossk.org:8180/GWTOSM/
>
> > version here:http://github.com/h4ck3rm1k3/GWTOsm
>
> > please advise,
> > mik

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to