includes/std: Added std::math::accumulate, corrected std::hash::crc32

This commit is contained in:
Nik
2023-03-14 14:40:58 +01:00
committed by GitHub
parent 8e78f371f5
commit 55e3fec3bc
2 changed files with 16 additions and 2 deletions

View File

@@ -2,8 +2,8 @@
namespace std::hash {
fn crc32(ref auto pattern, u32 init, u32 poly) {
return builtin::std::hash::crc32(pattern, init, poly);
fn crc32(ref auto pattern, u32 init, u32 poly, u32 xorout, bool reflect_in, bool reflect_out) {
return builtin::std::hash::crc32(pattern, init, poly, xorout, reflect_in, reflect_out);
};
}