Xamarin Public Jenkins (auto-signing) 7d7f676260 Imported Upstream version 5.16.0.100
Former-commit-id: 38faa55fb9669e35e7d8448b15c25dc447f25767
2018-08-07 15:19:03 +00:00

89 lines
3.0 KiB
C#

// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/*============================================================
**
** Purpose: Some single-precision floating-point math operations
**
===========================================================*/
//This class contains only static members and doesn't require serialization.
using System.Runtime.CompilerServices;
namespace System
{
public static partial class MathF
{
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Acos(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Acosh(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Asin(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Asinh(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Atan(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Atan2(float y, float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Atanh(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Cbrt(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Ceiling(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Cos(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Cosh(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Exp(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Floor(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Log(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Log10(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Pow(float x, float y);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Sin(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Sinh(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Sqrt(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Tan(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
public static extern float Tanh(float x);
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern float FMod(float x, float y);
[MethodImpl(MethodImplOptions.InternalCall)]
private static extern unsafe float ModF(float x, float* intptr);
}
}