浏览代码

AK: Add shorthands for u384, u768, and u1536

Michiel Visser 1 年之前
父节点
当前提交
be68f747b6
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      AK/UFixedBigInt.h

+ 3 - 0
AK/UFixedBigInt.h

@@ -649,7 +649,10 @@ struct Formatter<T> : StandardFormatter {
 // these sizes should suffice for most usecases
 using u128 = AK::UFixedBigInt<128>;
 using u256 = AK::UFixedBigInt<256>;
+using u384 = AK::UFixedBigInt<384>;
 using u512 = AK::UFixedBigInt<512>;
+using u768 = AK::UFixedBigInt<768>;
 using u1024 = AK::UFixedBigInt<1024>;
+using u1536 = AK::UFixedBigInt<1536>;
 using u2048 = AK::UFixedBigInt<2048>;
 using u4096 = AK::UFixedBigInt<4096>;