public class Single extends ValueType
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Single
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Private.CoreLib, Version=9.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.CoreLib
|
static java.lang.String |
className
Qualified class name: System.Single
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Single() |
Single(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Single |
Abs(Single value) |
static Single |
Acos(Single x) |
static Single |
Acosh(Single x) |
static Single |
AcosPi(Single x) |
static Single |
Asin(Single x) |
static Single |
Asinh(Single x) |
static Single |
AsinPi(Single x) |
static Single |
Atan(Single x) |
static Single |
Atan2(Single y,
Single x) |
static Single |
Atan2Pi(Single y,
Single x) |
static Single |
Atanh(Single x) |
static Single |
AtanPi(Single x) |
static Single |
BitDecrement(Single x) |
static Single |
BitIncrement(Single x) |
static Single |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Single, a cast assert is made to check if types are compatible. |
static Single |
Cbrt(Single x) |
static Single |
Ceiling(Single x) |
static Single |
Clamp(Single value,
Single min,
Single max) |
int |
CompareTo(NetObject value) |
int |
CompareTo(Single value) |
static Single |
CopySign(Single value,
Single sign) |
static Single |
Cos(Single x) |
static Single |
Cosh(Single x) |
static Single |
CosPi(Single x) |
static Single |
DegreesToRadians(Single degrees) |
boolean |
Equals(Single obj) |
static Single |
Exp(Single x) |
static Single |
Exp10(Single x) |
static Single |
Exp10M1(Single x) |
static Single |
Exp2(Single x) |
static Single |
Exp2M1(Single x) |
static Single |
ExpM1(Single x) |
static Single |
Floor(Single x) |
static Single |
FusedMultiplyAdd(Single left,
Single right,
Single addend) |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
TypeCode |
GetTypeCode() |
static Single |
Hypot(Single x,
Single y) |
static Single |
Ieee754Remainder(Single left,
Single right) |
static int |
ILogB(Single x) |
static boolean |
IsEvenInteger(Single value) |
static boolean |
IsFinite(Single f) |
static boolean |
IsInfinity(Single f) |
static boolean |
IsInteger(Single value) |
static boolean |
IsNaN(Single f) |
static boolean |
IsNegative(Single f) |
static boolean |
IsNegativeInfinity(Single f) |
static boolean |
IsNormal(Single f) |
static boolean |
IsOddInteger(Single value) |
static boolean |
IsPositive(Single value) |
static boolean |
IsPositiveInfinity(Single f) |
static boolean |
IsPow2(Single value) |
static boolean |
IsRealNumber(Single value) |
static boolean |
IsSubnormal(Single f) |
static Single |
Lerp(Single value1,
Single value2,
Single amount) |
static Single |
Log(Single x) |
static Single |
Log(Single x,
Single newBase) |
static Single |
Log10(Single x) |
static Single |
Log10P1(Single x) |
static Single |
Log2(Single value) |
static Single |
Log2P1(Single x) |
static Single |
LogP1(Single x) |
static Single |
Max(Single x,
Single y) |
static Single |
MaxMagnitude(Single x,
Single y) |
static Single |
MaxMagnitudeNumber(Single x,
Single y) |
static Single |
MaxNumber(Single x,
Single y) |
static Single |
Min(Single x,
Single y) |
static Single |
MinMagnitude(Single x,
Single y) |
static Single |
MinMagnitudeNumber(Single x,
Single y) |
static Single |
MinNumber(Single x,
Single y) |
static Single |
MultiplyAddEstimate(Single left,
Single right,
Single addend) |
static Single |
Parse(java.lang.String s) |
static Single |
Parse(java.lang.String s,
IFormatProvider provider) |
static Single |
Parse(java.lang.String s,
NumberStyles style) |
static Single |
Parse(java.lang.String s,
NumberStyles style,
IFormatProvider provider) |
static Single |
Pow(Single x,
Single y) |
static Single |
RadiansToDegrees(Single radians) |
static Single |
ReciprocalEstimate(Single x) |
static Single |
ReciprocalSqrtEstimate(Single x) |
static Single |
RootN(Single x,
int n) |
static Single |
Round(Single x) |
static Single |
Round(Single x,
int digits) |
static Single |
Round(Single x,
int digits,
MidpointRounding mode) |
static Single |
Round(Single x,
MidpointRounding mode) |
static Single |
ScaleB(Single x,
int n) |
void |
setJCOInstance(JCObject instance) |
static int |
Sign(Single value) |
static Single |
Sin(Single x) |
static Single |
Sinh(Single x) |
static Single |
SinPi(Single x) |
static Single |
Sqrt(Single x) |
static Single |
Tan(Single x) |
static Single |
Tanh(Single x) |
static Single |
TanPi(Single x) |
java.lang.String |
ToString(IFormatProvider provider) |
java.lang.String |
ToString(java.lang.String format) |
java.lang.String |
ToString(java.lang.String format,
IFormatProvider provider) |
static Single |
Truncate(Single x) |
static boolean |
TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<Single> result) |
static boolean |
TryParse(java.lang.String s,
JCORefOut<Single> result) |
static boolean |
TryParse(java.lang.String s,
NumberStyles style,
IFormatProvider provider,
JCORefOut<Single> result) |
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Single()
throws java.lang.Throwable
java.lang.Throwablepublic Single(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic static Single Abs(Single value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single Atan2(Single y, Single x) throws java.lang.Throwable
java.lang.Throwablepublic static Single Atan2Pi(Single y, Single x) throws java.lang.Throwable
java.lang.Throwablepublic static Single BitDecrement(Single x) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Single BitIncrement(Single x) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Single cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Single, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedSingle instancejava.lang.Throwable - in case of error during cast operationpublic static Single Ceiling(Single x) throws java.lang.Throwable
java.lang.Throwablepublic static Single Clamp(Single value, Single min, Single max) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public int CompareTo(NetObject value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, IndexOutOfRangeException, RankException, CultureNotFoundException, ObjectDisposedException
public int CompareTo(Single value) throws java.lang.Throwable
java.lang.Throwablepublic static Single CopySign(Single value, Single sign) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single CosPi(Single x) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Single DegreesToRadians(Single degrees) throws java.lang.Throwable
java.lang.Throwablepublic boolean Equals(Single obj) throws java.lang.Throwable
java.lang.Throwablepublic static Single Exp10M1(Single x) throws java.lang.Throwable
java.lang.Throwablepublic static Single FusedMultiplyAdd(Single left, Single right, Single addend) throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypeString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypeString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypeObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypeString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypeJCType representing the CLR Type of the instantiated Classpublic TypeCode GetTypeCode() throws java.lang.Throwable
java.lang.Throwablepublic static Single Hypot(Single x, Single y) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Single Ieee754Remainder(Single left, Single right) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArithmeticException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionArithmeticExceptionpublic static int ILogB(Single x) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic static boolean IsEvenInteger(Single value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static boolean IsFinite(Single f) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsInfinity(Single f) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsInteger(Single value) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static boolean IsNaN(Single f) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsNegative(Single f) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsNegativeInfinity(Single f) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsNormal(Single f) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsOddInteger(Single value) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static boolean IsPositive(Single value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsPositiveInfinity(Single f) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsPow2(Single value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static boolean IsRealNumber(Single value) throws java.lang.Throwable
java.lang.Throwablepublic static boolean IsSubnormal(Single f) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException
java.lang.ThrowableArgumentExceptionNotSupportedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionPlatformNotSupportedExceptionpublic static Single Lerp(Single value1, Single value2, Single amount) throws java.lang.Throwable
java.lang.Throwablepublic static Single Log(Single x, Single newBase) throws java.lang.Throwable
java.lang.Throwablepublic static Single Log10P1(Single x) throws java.lang.Throwable
java.lang.Throwablepublic static Single Max(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single MaxMagnitude(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single MaxMagnitudeNumber(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single MaxNumber(Single x, Single y) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Single Min(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single MinMagnitude(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single MinMagnitudeNumber(Single x, Single y) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single MinNumber(Single x, Single y) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Single MultiplyAddEstimate(Single left, Single right, Single addend) throws java.lang.Throwable
java.lang.Throwablepublic static Single Parse(java.lang.String s) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OverflowException, FormatException
public static Single Parse(java.lang.String s, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OverflowException, FormatException
public static Single Parse(java.lang.String s, NumberStyles style) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, NullReferenceException, OverflowException, FormatException
public static Single Parse(java.lang.String s, NumberStyles style, IFormatProvider provider) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ArgumentNullException, ObjectDisposedException, RankException, IndexOutOfRangeException, NullReferenceException, OverflowException, FormatException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionArgumentNullExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceExceptionOverflowExceptionFormatExceptionpublic static Single Pow(Single x, Single y) throws java.lang.Throwable
java.lang.Throwablepublic static Single RadiansToDegrees(Single radians) throws java.lang.Throwable
java.lang.Throwablepublic static Single ReciprocalEstimate(Single x) throws java.lang.Throwable
java.lang.Throwablepublic static Single ReciprocalSqrtEstimate(Single x) throws java.lang.Throwable
java.lang.Throwablepublic static Single RootN(Single x, int n) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single Round(Single x) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionpublic static Single Round(Single x, int digits) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, IndexOutOfRangeException, FormatException
public static Single Round(Single x, int digits, MidpointRounding mode) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
public static Single Round(Single x, MidpointRounding mode) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ArgumentOutOfRangeException
java.lang.ThrowableNotSupportedExceptionPlatformNotSupportedExceptionIndexOutOfRangeExceptionArgumentExceptionArgumentOutOfRangeExceptionpublic static Single ScaleB(Single x, int n) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class ValueTypepublic static int Sign(Single value) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException, ArithmeticException
public static Single SinPi(Single x) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic static Single TanPi(Single x) throws java.lang.Throwable, NotSupportedException, ArgumentException, PlatformNotSupportedException
java.lang.ThrowableNotSupportedExceptionArgumentExceptionPlatformNotSupportedExceptionpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentNullException, ArgumentException, CultureNotFoundException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentOutOfRangeException, NullReferenceException, NotSupportedException, ArrayTypeMismatchException, FormatException
public java.lang.String ToString(java.lang.String format)
throws java.lang.Throwable,
ArgumentNullException,
CultureNotFoundException,
PlatformNotSupportedException,
NullReferenceException,
NotSupportedException,
ArgumentException,
ArgumentOutOfRangeException,
RankException,
IndexOutOfRangeException,
ArrayTypeMismatchException,
TypeInitializationException,
FormatException
java.lang.ThrowableArgumentNullExceptionCultureNotFoundExceptionPlatformNotSupportedExceptionNullReferenceExceptionNotSupportedExceptionArgumentExceptionArgumentOutOfRangeExceptionRankExceptionIndexOutOfRangeExceptionArrayTypeMismatchExceptionTypeInitializationExceptionFormatExceptionpublic java.lang.String ToString(java.lang.String format,
IFormatProvider provider)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
CultureNotFoundException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentOutOfRangeException,
NullReferenceException,
NotSupportedException,
ArrayTypeMismatchException,
FormatException
public static Single Truncate(Single x) throws java.lang.Throwable
java.lang.Throwablepublic static boolean TryParse(java.lang.String s,
IFormatProvider provider,
JCORefOut<Single> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
NullReferenceException,
OverflowException
public static boolean TryParse(java.lang.String s,
JCORefOut<Single> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
PlatformNotSupportedException,
NotSupportedException,
ObjectDisposedException,
InvalidOperationException,
RankException,
ArrayTypeMismatchException,
IndexOutOfRangeException,
NullReferenceException,
OverflowException
public static boolean TryParse(java.lang.String s,
NumberStyles style,
IFormatProvider provider,
JCORefOut<Single> result)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException,
NullReferenceException,
OverflowException
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionInvalidOperationExceptionPlatformNotSupportedExceptionArrayTypeMismatchExceptionNotSupportedExceptionObjectDisposedExceptionRankExceptionIndexOutOfRangeExceptionNullReferenceExceptionOverflowException