//返回值大于等于零且小于 System.Int32.MaxValue 的随机数 public int Next() { return(IntMath.Abs(rand())); }
//求长度,结果取整 public int Magnitude() { return(IntMath.Sqrt(Square())); }