Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1'use strict';2 3var modulo = require('./modulo');4var ToNumber = require('./ToNumber');5var truncate = require('./truncate');6 7var isFinite = require('math-intrinsics/isFinite');8 9// https://262.ecma-international.org/14.0/#sec-touint3210 11var two32 = 0x100000000; // Math.pow(2, 32);12 13module.exports = function ToUint32(argument) {14 var number = ToNumber(argument);15 if (!isFinite(number) || number === 0) {16 return 0;17 }18 var int = truncate(number);19 var int32bit = modulo(int, two32);20 return int32bit === 0 ? 0 : int32bit; // in the spec, these are math values, so we filter out -0 here21};22 