示例#1
0
文件: UInt128.x.cs 项目: 0xCM/arrows
 public static Vec128 <ulong> ToVector128(this UInt128 src)
 => src;
示例#2
0
文件: UMul.cs 项目: 0xCM/arrows
 public static unsafe ref UInt128 mul(ulong lhs, ulong rhs, out UInt128 dst)
 {
     dst = 0;
     mul(lhs, rhs, out dst.lo, out dst.hi);
     return(ref dst);
 }
示例#3
0
 public static BitString ToBitString(this UInt128 src)
 => BitString.FromScalar(src.hi) + BitString.FromScalar(src.lo);