Re: Are hyperbolic functions supported in .NET CF?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Geoff Schwab [MSFT] (a-geosch_at_online.microsoft.com)
Date: 02/26/04


Date: Thu, 26 Feb 2004 10:17:53 -0800

Alex,

You can expect to see this in the next FAQ rev. Thanks Alex.

-- 
Geoff Schwab
Program Manager
Excell Data Corporation
http://msdn.com/mobility
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.aspx
This posting is provided "AS IS" with no warranties, and confers no rights.
"Alex Feinman [MVP]" <public_news@alexfeinman.com> wrote in message
news:%23Ohi7JJ$DHA.684@tk2msftngp13.phx.gbl...
> This is one of those confusing "Supported by API/Not supported by platform
> cases". The class definition (Math) has it for compatibility, but will
throw
> an exception when you try using it. Luckily all hyperbolic functions are
> easily represented via exponential function:
>
> sinh(x) = (exp(x) - exp(-x))/2
> cosh(x) = (exp(x) + exp(-x))/2
> tanh(x) = (exp(x) - exp(-x))/(exp(x) + exp(-x))
>
> and Exp is present and implemented. Similarly, reverse hyperbolic
functions
> can also be represented via more basic functions:
> asinh(z) = log(z + sqrt(z*z +1))
> etc...
>
> "Gavin" <anonymous@discussions.microsoft.com> wrote in message
> news:DC974BD7-B9D5-435E-9B54-011A5B042E75@microsoft.com...
> > Hi
> >
> > In the documentation it states Math.cosh is supported by the .NET
Compact
> Framework. But if a add the line to my application:
> >
> > Math.cosh(0.34)
> >
> > I will get the error message: Run-time exception thrown :
> System.NotSupportedException - NotSupportedException
> >
> > Is the documentation wrong?
> >
> > Gavin
>
>


Relevant Pages

  • Re: COPY bug with remote task as input.
    ... >:I think this is a bug in the COPY command. ... I cannot find it anymore in the VMS 7.3 documentation. ... This section seems to imply that any command which accepts an input file ... You should at least admit that the error message is confusing. ...
    (comp.os.vms)
  • Re: MiKTeX / pstricks problem (pst-infixplot,pst-math)
    ... one or more lines will result in the error message. ... I only found in the documentation of the pst-infixplot package which uses the ... consider this command as deprecated. ... cosh has never been defined in pst-math as far as I remember. ...
    (comp.text.tex)
  • Re: Not receiving e-mails from individual domain
    ... the Support line to someone who can hopefully decipher why the e-mail is ... Gavin ... > a Smarthost or anything else for outbound mail. ... >> have the full error message from one of these companies, ...
    (microsoft.public.exchange.admin)
  • Re: BK kernel workflow
    ... Shirley you jest. ... So now it's MY fault I didn't get any kind of error message whatsoever? ... > patches to the documentation for this tool which you get to use for free. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: upgrade 7.3-1 --> 7.3-2
    ... >>This error message is not appropriate for the circumstances. ... >>Disregard the recommendation to terminate the upgrade. ... I think "out of scope" is PCSI jargon for "this is an unexpected ... been prevented by better or more documentation? ...
    (comp.os.vms)