Re: Are hyperbolic functions supported in .NET CF?
From: Geoff Schwab [MSFT] (a-geosch_at_online.microsoft.com)
Date: 02/26/04
- Next message: Brian Sabino [MS]: "Re: SqlCEDataAdapter update method deletes all rows"
- Previous message: Geoff Schwab [MSFT]: "Re: can I create DB in emulator?"
- In reply to: Alex Feinman [MVP]: "Re: Are hyperbolic functions supported in .NET CF?"
- Messages sorted by: [ date ] [ thread ]
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 > >
- Next message: Brian Sabino [MS]: "Re: SqlCEDataAdapter update method deletes all rows"
- Previous message: Geoff Schwab [MSFT]: "Re: can I create DB in emulator?"
- In reply to: Alex Feinman [MVP]: "Re: Are hyperbolic functions supported in .NET CF?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|