Team Ai
Datasetpublic

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.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
ToBigInt64.js26 linesDownload Raw Back to 2022
1'use strict';2 3var GetIntrinsic = require('get-intrinsic');4 5var $BigInt = GetIntrinsic('%BigInt%', true);6var $pow = require('math-intrinsics/pow');7 8var ToBigInt = require('./ToBigInt');9var BigIntRemainder = require('./BigInt/remainder');10 11var modBigInt = require('../helpers/modBigInt');12 13// BigInt(2**63), but node v10.4-v10.8 have a bug where you can't `BigInt(x)` anything larger than MAX_SAFE_INTEGER14var twoSixtyThree = $BigInt && (BigInt($pow(2, 32)) * BigInt($pow(2, 31)));15 16// BigInt(2**64), but node v10.4-v10.8 have a bug where you can't `BigInt(x)` anything larger than MAX_SAFE_INTEGER17var twoSixtyFour = $BigInt && (BigInt($pow(2, 32)) * BigInt($pow(2, 32)));18 19// https://262.ecma-international.org/11.0/#sec-tobigint6420 21module.exports = function ToBigInt64(argument) {22	var n = ToBigInt(argument);23	var int64bit = modBigInt(BigIntRemainder, n, twoSixtyFour);24	return int64bit >= twoSixtyThree ? int64bit - twoSixtyFour : int64bit;25};26 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai