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 $TypeError = require('es-errors/type');4var isFinite = require('math-intrinsics/isFinite');5var isNaN = require('math-intrinsics/isNaN');6 7// https://262.ecma-international.org/12.0/#sec-numeric-types-number-add8 9module.exports = function NumberAdd(x, y) {10 if (typeof x !== 'number' || typeof y !== 'number') {11 throw new $TypeError('Assertion failed: `x` and `y` arguments must be Numbers');12 }13 14 if (isNaN(x) || isNaN(y) || (x === Infinity && y === -Infinity) || (x === -Infinity && y === Infinity)) {15 return NaN;16 }17 18 if (!isFinite(x)) {19 return x;20 }21 if (!isFinite(y)) {22 return y;23 }24 25 if (x === y && x === 0) { // both zeroes26 return Infinity / x === -Infinity && Infinity / y === -Infinity ? -0 : +0;27 }28 29 // shortcut for the actual spec mechanics30 return x + y;31};32 