本文整理汇总了C#中Real8Value类的典型用法代码示例。如果您正苦于以下问题:C# Real8Value类的具体用法?C# Real8Value怎么用?C# Real8Value使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
Real8Value类属于命名空间,在下文中一共展示了Real8Value类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: CompareLt
public static Bool3 CompareLt(Real8Value a, Real8Value b) {
if (a.IsValid && b.IsValid)
return a.Value < b.Value ? Bool3.True : Bool3.False;
return Bool3.Unknown;
}
示例2: Cgt
public static Int32Value Cgt(Real8Value a, Real8Value b) {
return Int32Value.Create(CompareGt(a, b));
}
示例3: Clt_Un
public static Int32Value Clt_Un(Real8Value a, Real8Value b) {
return Int32Value.Create(CompareLt_Un(a, b));
}
示例4: Div
public static Real8Value Div(Real8Value a, Real8Value b)
{
return new Real8Value(a.value / b.value);
}
示例5: Ceq
public static Int32Value Ceq(Real8Value a, Real8Value b) {
return Int32Value.Create(CompareEq(a, b));
}
示例6: Rem
public static Real8Value Rem(Real8Value a, Real8Value b) {
if (!a.IsValid || !b.IsValid)
return CreateUnknown();
return new Real8Value(a.Value % b.Value);
}
示例7: Sub_Ovf_Un
public static Real8Value Sub_Ovf_Un(Real8Value a, Real8Value b) {
return CreateUnknown();
}
示例8: Conv_Ovf_U4
public static Int32Value Conv_Ovf_U4(Real8Value a) {
return Int32Value.CreateUnknown();
}
示例9: Conv_Ovf_U8_Un
public static Int64Value Conv_Ovf_U8_Un(Real8Value a) {
return Int64Value.CreateUnknown();
}
示例10: Sub
public static Real8Value Sub(Real8Value a, Real8Value b)
{
return new Real8Value(a.value - b.value);
}
示例11: Conv_Ovf_U2_Un
public static Int32Value Conv_Ovf_U2_Un(Real8Value a) {
return Int32Value.CreateUnknownUInt16();
}
示例12: Rem
public static Real8Value Rem(Real8Value a, Real8Value b)
{
return new Real8Value(a.value % b.value);
}
示例13: Neg
public static Real8Value Neg(Real8Value a)
{
return new Real8Value(-a.value);
}
示例14: Mul
public static Real8Value Mul(Real8Value a, Real8Value b)
{
return new Real8Value(a.value * b.value);
}
示例15: CompareLt_Un
public static Bool3 CompareLt_Un(Real8Value a, Real8Value b) {
return Bool3.Unknown; //TODO:
}