다음을 통해 공유


Numerics.BigInteger 구조체(F#)

임의 크기의 정수 형식입니다.

네임스페이스/모듈 경로: System.Numerics

어셈블리: FSharp.Core(FSharp.Core.dll)

[<CustomEquality>]
[<CustomComparison>]
type BigInteger =
 struct
  interface IComparable
  new BigInteger : int64 -> BigInteger
  new BigInteger : int -> BigInteger
  static member Abs : BigInteger -> BigInteger
  static member DivRem : BigInteger * BigInteger * byref<BigInteger> -> BigInteger
  static member GreatestCommonDivisor : BigInteger * BigInteger -> BigInteger
  static member Parse : string -> BigInteger
  static member Pow : BigInteger * int32 -> BigInteger
  member this.IsOne :  bool
  member this.IsZero :  bool
  static member One :  BigInteger
  member this.Sign :  int
  static member Zero :  BigInteger
  static member ( + ) : BigInteger * BigInteger -> BigInteger
  static member ( / ) : BigInteger * BigInteger -> BigInteger
  static member ( = ) : BigInteger * BigInteger -> bool
  static member op_Explicit : BigInteger -> int32
  static member op_Explicit : BigInteger -> int64
  static member op_Explicit : BigInteger -> float
  static member ( > ) : BigInteger * BigInteger -> bool
  static member ( >= ) : BigInteger * BigInteger -> bool
  static member ( <> ) : BigInteger * BigInteger -> bool
  static member ( < ) : BigInteger * BigInteger -> bool
  static member ( <= ) : BigInteger * BigInteger -> bool
  static member ( % ) : BigInteger * BigInteger -> BigInteger
  static member ( * ) : BigInteger * BigInteger -> BigInteger
  static member ( - ) : BigInteger * BigInteger -> BigInteger
  static member ( ~- ) : BigInteger -> BigInteger
  static member ( ~+ ) : BigInteger -> BigInteger
 end

설명

이 형식은 .NET Framework 2.0을 대상으로 하는 F# 런타임에서만 사용할 수 있습니다. .NET Framework 4를 사용하는 경우 동일한 이름의 .NET Framework 4 형식인 BigInteger을 사용합니다.

생성자

멤버

설명

new

지정된 64비트 정수에 대한 BigInteger 값을 생성합니다.

인스턴스 멤버

멤버

설명

IsOne

BigInteger가 'one'이면 true를 반환합니다.

IsZero

BigInteger가 '0'이면 true를 반환합니다.

Sign

BigInteger의 부호(0, +1 또는 -1)를 반환합니다.

정적 멤버

멤버

설명

( % )

BigInteger의 모듈러스를 반환합니다.

( * )

BigInteger의 곱을 반환합니다.

( + )

두 BigInteger의 합을 반환합니다.

( - )

두 BigInteger의 차를 반환합니다.

( / )

두 BigInteger의 비율을 반환합니다.

( < )

이 연산자는 이 형식이 다른 CLI 언어에서 사용될 때 일관성을 유지하기 위한 것입니다.

( <= )

이 연산자는 이 형식이 다른 CLI 언어에서 사용될 때 일관성을 유지하기 위한 것입니다.

( <> )

이 연산자는 이 형식이 다른 CLI 언어에서 사용될 때 일관성을 유지하기 위한 것입니다.

( = )

이 연산자는 이 형식이 다른 CLI 언어에서 사용될 때 일관성을 유지하기 위한 것입니다.

( > )

이 연산자는 이 형식이 다른 CLI 언어에서 사용될 때 일관성을 유지하기 위한 것입니다.

( >= )

이 연산자는 이 형식이 다른 CLI 언어에서 사용될 때 일관성을 유지하기 위한 것입니다.

( ~+ )

지정된 BigInteger를 반환합니다.

( ~- )

BigInteger의 부정을 반환합니다.

Abs

BigInteger의 절대 값을 계산합니다.

DivRem

두 BigInteger의 비율 및 나머지를 계산합니다.

GreatestCommonDivisor

두 BigInteger의 최대 공약수를 반환합니다.

One

1에 해당하는 BigInteger를 가져옵니다.

op_Explicit

BigInteger를 부동 소수점 숫자로 변환합니다.

Parse

문자열 형식에서 BigInteger를 구문 분석합니다.

Pow

두 BigInteger의 n^m을 반환합니다.

Zero

0에 해당하는 BigInteger를 가져옵니다.

플랫폼

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

버전 정보

F# 런타임

지원되는 버전: 2.0

Silverlight

지원되는 버전: 3

참고 항목

기타 리소스

System.Numerics 네임스페이스(F#)