Searched refs:ISqrt (Results 1 – 11 of 11) sorted by relevance
262 public static int ISqrt(int number, ISqrtRoundMode round = ISqrtRoundMode.Floor) in ISqrt() method in OpenRA.Exts267 return (int)ISqrt((uint)number, round); in ISqrt()270 public static uint ISqrt(uint number, ISqrtRoundMode round = ISqrtRoundMode.Floor) in ISqrt() method in OpenRA.Exts303 public static long ISqrt(long number, ISqrtRoundMode round = ISqrtRoundMode.Floor) in ISqrt() method in OpenRA.Exts308 return (long)ISqrt((ulong)number, round); in ISqrt()311 public static ulong ISqrt(ulong number, ISqrtRoundMode round = ISqrtRoundMode.Floor) in ISqrt() method in OpenRA.Exts
41 public int Length { get { return (int)Exts.ISqrt(LengthSquared); } }43 public int HorizontalLength { get { return (int)Exts.ISqrt(HorizontalLengthSquared); } }45 public int VerticalLength { get { return (int)Exts.ISqrt(VerticalLengthSquared); } }
46 public int Length { get { return Exts.ISqrt(LengthSquared); } }
549 …+ Exts.ISqrt(predAttHght * (2 * loopRadius - predAttHght)))); // Target too close to hit at curren… in IncreaseAltitude()606 var tarDist = Exts.ISqrt(loopRadius * loopRadius - tarHgt * tarHgt); in HomingInnerTick()646 var h1 = loopRadius - Exts.ISqrt(d1 * (2 * loopRadius - d1)) - (pos.Z - lastHt); in HomingInnerTick()649 …desiredVFacing = WAngle.ArcTan(Exts.ISqrt(h1 * (2 * loopRadius - h1)), loopRadius - h1).Angle >> 2; in HomingInnerTick()
136 ts[Exts.ISqrt(i * i + j * j, Exts.ISqrtRoundMode.Ceiling)].Add(new CVec(i, j)); in CreateTilesByDistance()
68 …startPos = spawn + spawnVec * (Exts.ISqrt((bounds.Height * bounds.Height + bounds.Width * bounds.W… in Produce()
99 return new WDist(Exts.ISqrt(min2 + z * z)); in DistanceFromEdge()
47 public int Length { get { return Exts.ISqrt(LengthSquared); } }
111 func ISqrt(n uint32) (x uint32) { func
672 x := int64(ISqrt(uint32(n)))681 x := int64(ISqrt(uint32(n)))692 x := int64(ISqrt(uint32(n)))879 ISqrt(n)
118 func ISqrt(n uint32) (x uint32) { func