Class JavaRuntime
helper functions
Inheritance
System.Object
JavaRuntime
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Hybridizer.Runtime.CUDAImports
Assembly: Hybridizer.Runtime.CUDAImports.dll
Syntax
public class JavaRuntime
Methods
Dcmpl(Double, Double)
compares two double precision real number
Declaration
[ReturnTypeInference(Return = VectorizerIntrinsicReturn.VectorTransitive, Index = 0)]
public static int Dcmpl(double d1, double d2)
Parameters
Type | Name | Description |
---|---|---|
System.Double | d1 | |
System.Double | d2 |
Returns
Type | Description |
---|---|
System.Int32 | -1 if d2 > d1, 1 if d1 > d2, 0 otherwise |
Fcmpl(Single, Single)
compares two float 32 precision real number
Declaration
[ReturnTypeInference(Return = VectorizerIntrinsicReturn.VectorTransitive, Index = 0)]
public static int Fcmpl(float d1, float d2)
Parameters
Type | Name | Description |
---|---|---|
System.Single | d1 | |
System.Single | d2 |
Returns
Type | Description |
---|---|
System.Int32 | -1 if d2 > d1, 1 if d1 > d2, 0 otherwise |