Esempio n. 1
0
File: All.cs Progetto: 0xCM/z0
 public static int EntryPadWidth <M, N>(this TableSpan <M, N, double> src)
     where M : unmanaged, ITypeNat
     where N : unmanaged, ITypeNat
 => Digital.digits(base10, ((ulong)src.Reduce(Math.Max))).Length;
Esempio n. 2
0
File: All.cs Progetto: 0xCM/z0
 public static double MaxEntry <M, N>(this TableSpan <M, N, double> src)
     where M : unmanaged, ITypeNat
     where N : unmanaged, ITypeNat
 => src.Reduce(Math.Max);