# MathMathMathMath Class

## 定義

``public ref class Math abstract sealed``
``public static class Math``
``type Math = class``
``Public Class Math``

MathMathMathMath

## 例

``````/// <summary>
/// The following class represents simple functionality of the trapezoid.
/// </summary>
using namespace System;

public ref class MathTrapezoidSample
{
private:
double m_longBase;
double m_shortBase;
double m_leftLeg;
double m_rightLeg;

public:
MathTrapezoidSample( double longbase, double shortbase, double leftLeg, double rightLeg )
{
m_longBase = Math::Abs( longbase );
m_shortBase = Math::Abs( shortbase );
m_leftLeg = Math::Abs( leftLeg );
m_rightLeg = Math::Abs( rightLeg );
}

private:
double GetRightSmallBase()
{
return (Math::Pow( m_rightLeg, 2.0 ) - Math::Pow( m_leftLeg, 2.0 ) + Math::Pow( m_longBase, 2.0 ) + Math::Pow( m_shortBase, 2.0 ) - 2 * m_shortBase * m_longBase) / (2 * (m_longBase - m_shortBase));
}

public:
double GetHeight()
{
double x = GetRightSmallBase();
return Math::Sqrt( Math::Pow( m_rightLeg, 2.0 ) - Math::Pow( x, 2.0 ) );
}

double GetSquare()
{
return GetHeight() * m_longBase / 2.0;
}

{
double sinX = GetHeight() / m_leftLeg;
return Math::Round( Math::Asin( sinX ), 2 );
}

{
double x = GetRightSmallBase();
double cosX = (Math::Pow( m_rightLeg, 2.0 ) + Math::Pow( x, 2.0 ) - Math::Pow( GetHeight(), 2.0 )) / (2 * x * m_rightLeg);
return Math::Round( Math::Acos( cosX ), 2 );
}

double GetLeftBaseDegreeAngle()
{
double x = GetLeftBaseRadianAngle() * 180 / Math::PI;
return Math::Round( x, 2 );
}

double GetRightBaseDegreeAngle()
{
double x = GetRightBaseRadianAngle() * 180 / Math::PI;
return Math::Round( x, 2 );
}

};

int main()
{
MathTrapezoidSample^ trpz = gcnew MathTrapezoidSample( 20.0,10.0,8.0,6.0 );
Console::WriteLine( "The trapezoid's bases are 20.0 and 10.0, the trapezoid's legs are 8.0 and 6.0" );
double h = trpz->GetHeight();
Console::WriteLine( "Trapezoid height is: {0}", h.ToString() );
Console::WriteLine( "Trapezoid left base angle is: {0} Radians", dxR.ToString() );
Console::WriteLine( "Trapezoid right base angle is: {0} Radians", dyR.ToString() );
double dxD = trpz->GetLeftBaseDegreeAngle();
Console::WriteLine( "Trapezoid left base angle is: {0} Degrees", dxD.ToString() );
double dyD = trpz->GetRightBaseDegreeAngle();
Console::WriteLine( "Trapezoid left base angle is: {0} Degrees", dyD.ToString() );
}
``````
``````/// <summary>
/// The following class represents simple functionality of the trapezoid.
/// </summary>
using System;

namespace MathClassCS
{
class MathTrapezoidSample
{
private double m_longBase;
private double m_shortBase;
private double m_leftLeg;
private double m_rightLeg;

public MathTrapezoidSample(double longbase, double shortbase, double leftLeg, double rightLeg)
{
m_longBase = Math.Abs(longbase);
m_shortBase = Math.Abs(shortbase);
m_leftLeg = Math.Abs(leftLeg);
m_rightLeg = Math.Abs(rightLeg);
}

private double GetRightSmallBase()
{
return (Math.Pow(m_rightLeg,2.0) - Math.Pow(m_leftLeg,2.0) + Math.Pow(m_longBase,2.0) + Math.Pow(m_shortBase,2.0) - 2* m_shortBase * m_longBase)/ (2*(m_longBase - m_shortBase));
}

public double GetHeight()
{
double x = GetRightSmallBase();
return Math.Sqrt(Math.Pow(m_rightLeg,2.0) - Math.Pow(x,2.0));
}

public double GetSquare()
{
return GetHeight() * m_longBase / 2.0;
}

{
double sinX = GetHeight()/m_leftLeg;
return Math.Round(Math.Asin(sinX),2);
}

{
double x = GetRightSmallBase();
double cosX = (Math.Pow(m_rightLeg,2.0) + Math.Pow(x,2.0) - Math.Pow(GetHeight(),2.0))/(2*x*m_rightLeg);
return Math.Round(Math.Acos(cosX),2);
}

public double GetLeftBaseDegreeAngle()
{
double x = GetLeftBaseRadianAngle() * 180/ Math.PI;
return Math.Round(x,2);
}

public double GetRightBaseDegreeAngle()
{
double x = GetRightBaseRadianAngle() * 180/ Math.PI;
return Math.Round(x,2);
}

static void Main(string[] args)
{
MathTrapezoidSample trpz = new MathTrapezoidSample(20.0, 10.0, 8.0, 6.0);
Console.WriteLine("The trapezoid's bases are 20.0 and 10.0, the trapezoid's legs are 8.0 and 6.0");
double h = trpz.GetHeight();
Console.WriteLine("Trapezoid height is: " + h.ToString());
Console.WriteLine("Trapezoid left base angle is: " + dxR.ToString() + " Radians");
Console.WriteLine("Trapezoid right base angle is: " + dyR.ToString() + " Radians");
double dxD = trpz.GetLeftBaseDegreeAngle();
Console.WriteLine("Trapezoid left base angle is: " + dxD.ToString() + " Degrees");
double dyD = trpz.GetRightBaseDegreeAngle();
Console.WriteLine("Trapezoid left base angle is: " + dyD.ToString() + " Degrees");
}
}
}
``````
``````'The following class represents simple functionality of the trapezoid.
Class MathTrapezoidSample

Private m_longBase As Double
Private m_shortBase As Double
Private m_leftLeg As Double
Private m_rightLeg As Double

Public Sub New(ByVal longbase As Double, ByVal shortbase As Double, ByVal leftLeg As Double, ByVal rightLeg As Double)
m_longBase = Math.Abs(longbase)
m_shortBase = Math.Abs(shortbase)
m_leftLeg = Math.Abs(leftLeg)
m_rightLeg = Math.Abs(rightLeg)
End Sub

Private Function GetRightSmallBase() As Double
GetRightSmallBase = (Math.Pow(m_rightLeg, 2) - Math.Pow(m_leftLeg, 2) + Math.Pow(m_longBase, 2) + Math.Pow(m_shortBase, 2) - 2 * m_shortBase * m_longBase) / (2 * (m_longBase - m_shortBase))
End Function

Public Function GetHeight() As Double
Dim x As Double = GetRightSmallBase()
GetHeight = Math.Sqrt(Math.Pow(m_rightLeg, 2) - Math.Pow(x, 2))
End Function

Public Function GetSquare() As Double
GetSquare = GetHeight() * m_longBase / 2
End Function

Dim sinX As Double = GetHeight() / m_leftLeg
End Function

Dim x As Double = GetRightSmallBase()
Dim cosX As Double = (Math.Pow(m_rightLeg, 2) + Math.Pow(x, 2) - Math.Pow(GetHeight(), 2)) / (2 * x * m_rightLeg)
End Function

Public Function GetLeftBaseDegreeAngle() As Double
Dim x As Double = GetLeftBaseRadianAngle() * 180 / Math.PI
GetLeftBaseDegreeAngle = Math.Round(x, 2)
End Function

Public Function GetRightBaseDegreeAngle() As Double
Dim x As Double = GetRightBaseRadianAngle() * 180 / Math.PI
GetRightBaseDegreeAngle = Math.Round(x, 2)
End Function

Public Shared Sub Main()
Dim trpz As MathTrapezoidSample = New MathTrapezoidSample(20, 10, 8, 6)
Console.WriteLine("The trapezoid's bases are 20.0 and 10.0, the trapezoid's legs are 8.0 and 6.0")
Dim h As Double = trpz.GetHeight()
Console.WriteLine("Trapezoid height is: " + h.ToString())
Dim dxR As Double = trpz.GetLeftBaseRadianAngle()
Console.WriteLine("Trapezoid left base angle is: " + dxR.ToString() + " Radians")
Dim dyR As Double = trpz.GetRightBaseRadianAngle()
Console.WriteLine("Trapezoid right base angle is: " + dyR.ToString() + " Radians")
Dim dxD As Double = trpz.GetLeftBaseDegreeAngle()
Console.WriteLine("Trapezoid left base angle is: " + dxD.ToString() + " Degrees")
Dim dyD As Double = trpz.GetRightBaseDegreeAngle()
Console.WriteLine("Trapezoid left base angle is: " + dyD.ToString() + " Degrees")
End Sub
End Class
``````

## フィールド

 E E E E 定数 `e` によって示される、自然対数の底を表します。Represents the natural logarithmic base, specified by the constant, `e`. PI PI PI PI 定数 (π) を指定して、円の直径に対する円周の割合を表します。Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π.

## メソッド

 Abs(Decimal) Abs(Decimal) Abs(Decimal) Abs(Decimal) Decimal 数値の絶対値を返します。Returns the absolute value of a Decimal number. Abs(Double) Abs(Double) Abs(Double) Abs(Double) 倍精度浮動小数点数の絶対値を返します。Returns the absolute value of a double-precision floating-point number. Abs(Int16) Abs(Int16) Abs(Int16) Abs(Int16) 16 ビット符号付き整数の絶対値を返します。Returns the absolute value of a 16-bit signed integer. Abs(Int32) Abs(Int32) Abs(Int32) Abs(Int32) 32 ビット符号付き整数の絶対値を返します。Returns the absolute value of a 32-bit signed integer. Abs(Int64) Abs(Int64) Abs(Int64) Abs(Int64) 64 ビット符号付き整数の絶対値を返します。Returns the absolute value of a 64-bit signed integer. Abs(SByte) Abs(SByte) Abs(SByte) Abs(SByte) 8 ビット符号付き整数の絶対値を返します。Returns the absolute value of an 8-bit signed integer. Abs(Single) Abs(Single) Abs(Single) Abs(Single) 単精度浮動小数点数の絶対値を返します。Returns the absolute value of a single-precision floating-point number. Acos(Double) Acos(Double) Acos(Double) Acos(Double) コサインが指定数となる角度を返します。Returns the angle whose cosine is the specified number. Acosh(Double) Acosh(Double) Acosh(Double) Acosh(Double) Asin(Double) Asin(Double) Asin(Double) Asin(Double) サインが指定数となる角度を返します。Returns the angle whose sine is the specified number. Asinh(Double) Asinh(Double) Asinh(Double) Asinh(Double) Atan(Double) Atan(Double) Atan(Double) Atan(Double) タンジェントが指定数となる角度を返します。Returns the angle whose tangent is the specified number. Atan2(Double, Double) Atan2(Double, Double) Atan2(Double, Double) Atan2(Double, Double) タンジェントが 2 つの指定された数の商である角度を返します。Returns the angle whose tangent is the quotient of two specified numbers. Atanh(Double) Atanh(Double) Atanh(Double) Atanh(Double) BigMul(Int32, Int32) BigMul(Int32, Int32) BigMul(Int32, Int32) BigMul(Int32, Int32) 2 つの 32 ビット数値の完全な積を生成します。Produces the full product of two 32-bit numbers. BitDecrement(Double) BitDecrement(Double) BitDecrement(Double) BitDecrement(Double) BitIncrement(Double) BitIncrement(Double) BitIncrement(Double) BitIncrement(Double) Cbrt(Double) Cbrt(Double) Cbrt(Double) Cbrt(Double) Ceiling(Decimal) Ceiling(Decimal) Ceiling(Decimal) Ceiling(Decimal) 指定した 10 進数以上の数のうち、最小の整数値を返します。Returns the smallest integral value that is greater than or equal to the specified decimal number. Ceiling(Double) Ceiling(Double) Ceiling(Double) Ceiling(Double) 指定した倍精度浮動小数点数以上の数のうち、最小の整数値を返します。Returns the smallest integral value that is greater than or equal to the specified double-precision floating-point number. Clamp(UInt64, UInt64, UInt64) Clamp(UInt64, UInt64, UInt64) Clamp(UInt64, UInt64, UInt64) Clamp(UInt64, UInt64, UInt64) Clamp(UInt32, UInt32, UInt32) Clamp(UInt32, UInt32, UInt32) Clamp(UInt32, UInt32, UInt32) Clamp(UInt32, UInt32, UInt32) Clamp(UInt16, UInt16, UInt16) Clamp(UInt16, UInt16, UInt16) Clamp(UInt16, UInt16, UInt16) Clamp(UInt16, UInt16, UInt16) Clamp(Single, Single, Single) Clamp(Single, Single, Single) Clamp(Single, Single, Single) Clamp(Single, Single, Single) Clamp(SByte, SByte, SByte) Clamp(SByte, SByte, SByte) Clamp(SByte, SByte, SByte) Clamp(SByte, SByte, SByte) Clamp(Int64, Int64, Int64) Clamp(Int64, Int64, Int64) Clamp(Int64, Int64, Int64) Clamp(Int64, Int64, Int64) Clamp(Int32, Int32, Int32) Clamp(Int32, Int32, Int32) Clamp(Int32, Int32, Int32) Clamp(Int32, Int32, Int32) Clamp(Int16, Int16, Int16) Clamp(Int16, Int16, Int16) Clamp(Int16, Int16, Int16) Clamp(Int16, Int16, Int16) Clamp(Double, Double, Double) Clamp(Double, Double, Double) Clamp(Double, Double, Double) Clamp(Double, Double, Double) Clamp(Decimal, Decimal, Decimal) Clamp(Decimal, Decimal, Decimal) Clamp(Decimal, Decimal, Decimal) Clamp(Decimal, Decimal, Decimal) Clamp(Byte, Byte, Byte) Clamp(Byte, Byte, Byte) Clamp(Byte, Byte, Byte) Clamp(Byte, Byte, Byte) CopySign(Double, Double) CopySign(Double, Double) CopySign(Double, Double) CopySign(Double, Double) Cos(Double) Cos(Double) Cos(Double) Cos(Double) 指定された角度のコサインを返します。Returns the cosine of the specified angle. Cosh(Double) Cosh(Double) Cosh(Double) Cosh(Double) 指定された角度のハイパーボリック コサインを返します。Returns the hyperbolic cosine of the specified angle. DivRem(Int32, Int32, Int32) DivRem(Int32, Int32, Int32) DivRem(Int32, Int32, Int32) DivRem(Int32, Int32, Int32) 2 つの 32 ビット符号付き整数の商を計算し、出力パラメーターの剰余を返します。Calculates the quotient of two 32-bit signed integers and also returns the remainder in an output parameter. DivRem(Int64, Int64, Int64) DivRem(Int64, Int64, Int64) DivRem(Int64, Int64, Int64) DivRem(Int64, Int64, Int64) 2 つの 64 ビット符号付き整数の商を計算し、出力パラメーターの剰余を返します。Calculates the quotient of two 64-bit signed integers and also returns the remainder in an output parameter. Exp(Double) Exp(Double) Exp(Double) Exp(Double) 指定した値で `e` を累乗した値を返します。Returns `e` raised to the specified power. Floor(Double) Floor(Double) Floor(Double) Floor(Double) 指定した倍精度浮動小数点数以下の数のうち、最大の整数値を返します。Returns the largest integral value less than or equal to the specified double-precision floating-point number. Floor(Decimal) Floor(Decimal) Floor(Decimal) Floor(Decimal) 指定した 10 進数以下の数のうち、最大の整数値を返します。Returns the largest integral value less than or equal to the specified decimal number. FusedMultiplyAdd(Double, Double, Double) FusedMultiplyAdd(Double, Double, Double) FusedMultiplyAdd(Double, Double, Double) FusedMultiplyAdd(Double, Double, Double) IEEERemainder(Double, Double) IEEERemainder(Double, Double) IEEERemainder(Double, Double) IEEERemainder(Double, Double) 指定した数を別の指定数で除算した結果の剰余を返します。Returns the remainder resulting from the division of a specified number by another specified number. ILogB(Double) ILogB(Double) ILogB(Double) ILogB(Double) Log(Double) Log(Double) Log(Double) Log(Double) 指定した数の自然 (底 `e`) 対数を返します。Returns the natural (base `e`) logarithm of a specified number. Log(Double, Double) Log(Double, Double) Log(Double, Double) Log(Double, Double) 指定した数値の指定した底での対数を返します。Returns the logarithm of a specified number in a specified base. Log10(Double) Log10(Double) Log10(Double) Log10(Double) 指定した数の底 10 の対数を返します。Returns the base 10 logarithm of a specified number. Log2(Double) Log2(Double) Log2(Double) Log2(Double) Max(UInt64, UInt64) Max(UInt64, UInt64) Max(UInt64, UInt64) Max(UInt64, UInt64) 2 つの 64 ビット符号なし整数のうち、大きな方を返します。Returns the larger of two 64-bit unsigned integers. Max(UInt32, UInt32) Max(UInt32, UInt32) Max(UInt32, UInt32) Max(UInt32, UInt32) 2 つの 32 ビット符号なし整数のうち、大きな方を返します。Returns the larger of two 32-bit unsigned integers. Max(UInt16, UInt16) Max(UInt16, UInt16) Max(UInt16, UInt16) Max(UInt16, UInt16) 2 つの 16 ビット符号なし整数のうち、大きな方を返します。Returns the larger of two 16-bit unsigned integers. Max(Single, Single) Max(Single, Single) Max(Single, Single) Max(Single, Single) 2 つの単精度浮動小数点数のうち、大きい方を返します。Returns the larger of two single-precision floating-point numbers. Max(SByte, SByte) Max(SByte, SByte) Max(SByte, SByte) Max(SByte, SByte) 2 つの 8 ビット符号付き整数のうち、大きい方を返します。Returns the larger of two 8-bit signed integers. Max(Byte, Byte) Max(Byte, Byte) Max(Byte, Byte) Max(Byte, Byte) 2 つの 8 ビット符号なし整数のうち、大きな方を返します。Returns the larger of two 8-bit unsigned integers. Max(Int32, Int32) Max(Int32, Int32) Max(Int32, Int32) Max(Int32, Int32) 2 つの 32 ビット符号付き整数のうち、大きい方を返します。Returns the larger of two 32-bit signed integers. Max(Int16, Int16) Max(Int16, Int16) Max(Int16, Int16) Max(Int16, Int16) 2 つの 16 ビット符号付き整数のうち、大きい方を返します。Returns the larger of two 16-bit signed integers. Max(Double, Double) Max(Double, Double) Max(Double, Double) Max(Double, Double) 2 つの倍精度浮動小数点数のうち、大きい方を返します。Returns the larger of two double-precision floating-point numbers. Max(Decimal, Decimal) Max(Decimal, Decimal) Max(Decimal, Decimal) Max(Decimal, Decimal) 2 つの 10 進数のうち、大きい方を返します。Returns the larger of two decimal numbers. Max(Int64, Int64) Max(Int64, Int64) Max(Int64, Int64) Max(Int64, Int64) 2 つの 64 ビット符号付き整数のうち、大きい方を返します。Returns the larger of two 64-bit signed integers. MaxMagnitude(Double, Double) MaxMagnitude(Double, Double) MaxMagnitude(Double, Double) MaxMagnitude(Double, Double) Min(UInt64, UInt64) Min(UInt64, UInt64) Min(UInt64, UInt64) Min(UInt64, UInt64) 2 つの 64 ビット符号なし整数のうち、小さい方を返します。Returns the smaller of two 64-bit unsigned integers. Min(UInt32, UInt32) Min(UInt32, UInt32) Min(UInt32, UInt32) Min(UInt32, UInt32) 2 つの 32 ビット符号なし整数のうち、小さい方を返します。Returns the smaller of two 32-bit unsigned integers. Min(UInt16, UInt16) Min(UInt16, UInt16) Min(UInt16, UInt16) Min(UInt16, UInt16) 2 つの 16 ビット符号なし整数のうち、小さい方を返します。Returns the smaller of two 16-bit unsigned integers. Min(Single, Single) Min(Single, Single) Min(Single, Single) Min(Single, Single) 2 つの単精度浮動小数点数のうち、小さい方を返します。Returns the smaller of two single-precision floating-point numbers. Min(SByte, SByte) Min(SByte, SByte) Min(SByte, SByte) Min(SByte, SByte) 2 つの 8 ビット符号付き整数のうち、小さい方を返します。Returns the smaller of two 8-bit signed integers. Min(Int64, Int64) Min(Int64, Int64) Min(Int64, Int64) Min(Int64, Int64) 2 つの 64 ビット符号付き整数のうち、小さい方を返します。Returns the smaller of two 64-bit signed integers. Min(Int32, Int32) Min(Int32, Int32) Min(Int32, Int32) Min(Int32, Int32) 2 つの 32 ビット符号付き整数のうち、小さい方を返します。Returns the smaller of two 32-bit signed integers. Min(Int16, Int16) Min(Int16, Int16) Min(Int16, Int16) Min(Int16, Int16) 2 つの 16 ビット符号付き整数のうち、小さい方を返します。Returns the smaller of two 16-bit signed integers. Min(Double, Double) Min(Double, Double) Min(Double, Double) Min(Double, Double) 2 つの倍精度浮動小数点数のうち、小さい方を返します。Returns the smaller of two double-precision floating-point numbers. Min(Decimal, Decimal) Min(Decimal, Decimal) Min(Decimal, Decimal) Min(Decimal, Decimal) 2 つの 10 進数のうち、小さい方を返します。Returns the smaller of two decimal numbers. Min(Byte, Byte) Min(Byte, Byte) Min(Byte, Byte) Min(Byte, Byte) 2 つの 8 ビット符号なし整数のうち、小さい方を返します。Returns the smaller of two 8-bit unsigned integers. MinMagnitude(Double, Double) MinMagnitude(Double, Double) MinMagnitude(Double, Double) MinMagnitude(Double, Double) Pow(Double, Double) Pow(Double, Double) Pow(Double, Double) Pow(Double, Double) 指定の数値を指定した値で累乗した値を返します。Returns a specified number raised to the specified power. Round(Decimal, Int32, MidpointRounding) Round(Decimal, Int32, MidpointRounding) Round(Decimal, Int32, MidpointRounding) Round(Decimal, Int32, MidpointRounding) 10 進数の値は指定した小数部の桁数に丸められ、中間値には指定した丸め処理が使用されます。Rounds a decimal value to a specified number of fractional digits, and uses the specified rounding convention for midpoint values. Round(Double, Int32, MidpointRounding) Round(Double, Int32, MidpointRounding) Round(Double, Int32, MidpointRounding) Round(Double, Int32, MidpointRounding) 倍精度浮動小数点の値は指定した小数部の桁数に丸められ、中間値には指定した丸め処理が使用されます。Rounds a double-precision floating-point value to a specified number of fractional digits, and uses the specified rounding convention for midpoint values. Round(Double, MidpointRounding) Round(Double, MidpointRounding) Round(Double, MidpointRounding) Round(Double, MidpointRounding) 倍精度浮動小数点の値は最も近い整数に丸められ、中間値には指定した丸め処理が使用されます。Rounds a double-precision floating-point value to the nearest integer, and uses the specified rounding convention for midpoint values. Round(Double, Int32) Round(Double, Int32) Round(Double, Int32) Round(Double, Int32) 倍精度浮動小数点の値は指定した小数部の桁数に丸められ、中間値は最も近い偶数値に丸められます。Rounds a double-precision floating-point value to a specified number of fractional digits, and rounds midpoint values to the nearest even number. Round(Double) Round(Double) Round(Double) Round(Double) 倍精度浮動小数点の値は最も近い整数値に丸められ、中間値は最も近い偶数値に丸められます。Rounds a double-precision floating-point value to the nearest integral value, and rounds midpoint values to the nearest even number. Round(Decimal, Int32) Round(Decimal, Int32) Round(Decimal, Int32) Round(Decimal, Int32) 10 進数の値は指定した小数部の桁数に丸められ、中間値は最も近い偶数値に丸められます。Rounds a decimal value to a specified number of fractional digits, and rounds midpoint values to the nearest even number. Round(Decimal) Round(Decimal) Round(Decimal) Round(Decimal) 10 進数の値は最も近い整数値に丸められ、中間値は最も近い偶数値に丸められます。Rounds a decimal value to the nearest integral value, and rounds midpoint values to the nearest even number. Round(Decimal, MidpointRounding) Round(Decimal, MidpointRounding) Round(Decimal, MidpointRounding) Round(Decimal, MidpointRounding) 10 進数の値は最も近い整数に丸められ、中間値には指定した丸め処理が使用されます。Rounds a decimal value to the nearest integer, and uses the specified rounding convention for midpoint values. ScaleB(Double, Int32) ScaleB(Double, Int32) ScaleB(Double, Int32) ScaleB(Double, Int32) Sign(Single) Sign(Single) Sign(Single) Sign(Single) 単精度浮動小数点数の符号を示す値を返します。Returns an integer that indicates the sign of a single-precision floating-point number. Sign(SByte) Sign(SByte) Sign(SByte) Sign(SByte) 8 ビット符号付き整数の符号を示す整数を返します。Returns an integer that indicates the sign of an 8-bit signed integer. Sign(Int32) Sign(Int32) Sign(Int32) Sign(Int32) 32 ビット符号付き整数の符号を示す整数を返します。Returns an integer that indicates the sign of a 32-bit signed integer. Sign(Int64) Sign(Int64) Sign(Int64) Sign(Int64) 64 ビット符号付き整数の符号を示す正数を返します。Returns an integer that indicates the sign of a 64-bit signed integer. Sign(Double) Sign(Double) Sign(Double) Sign(Double) 倍精度浮動小数点数の符号を示す整数を返します。Returns an integer that indicates the sign of a double-precision floating-point number. Sign(Decimal) Sign(Decimal) Sign(Decimal) Sign(Decimal) 10 進数の符号を示す整数を返します。Returns an integer that indicates the sign of a decimal number. Sign(Int16) Sign(Int16) Sign(Int16) Sign(Int16) 16 ビット符号付き整数の符号を示す整数を返します。Returns an integer that indicates the sign of a 16-bit signed integer. Sin(Double) Sin(Double) Sin(Double) Sin(Double) 指定された角度のサインを返します。Returns the sine of the specified angle. Sinh(Double) Sinh(Double) Sinh(Double) Sinh(Double) 指定された角度のハイパーボリック サインを返します。Returns the hyperbolic sine of the specified angle. Sqrt(Double) Sqrt(Double) Sqrt(Double) Sqrt(Double) 指定された数値の平方根を返します。Returns the square root of a specified number. Tan(Double) Tan(Double) Tan(Double) Tan(Double) 指定された角度のタンジェントを返します。Returns the tangent of the specified angle. Tanh(Double) Tanh(Double) Tanh(Double) Tanh(Double) 指定された角度のハイパーボリック タンジェントを返します。Returns the hyperbolic tangent of the specified angle. Truncate(Decimal) Truncate(Decimal) Truncate(Decimal) Truncate(Decimal) 指定した 10 進数の整数部を計算します。Calculates the integral part of a specified decimal number. Truncate(Double) Truncate(Double) Truncate(Double) Truncate(Double) 指定した倍精度浮動小数点数の整数部を計算します。Calculates the integral part of a specified double-precision floating-point number.