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
IsLooselyEqual.js59 linesDownload Raw Back to 2022
1'use strict';2 3var isFinite = require('math-intrinsics/isFinite');4var isObject = require('es-object-atoms/isObject');5 6var IsStrictlyEqual = require('./IsStrictlyEqual');7var StringToBigInt = require('./StringToBigInt');8var ToNumber = require('./ToNumber');9var ToPrimitive = require('./ToPrimitive');10 11var isSameType = require('../helpers/isSameType');12 13// https://262.ecma-international.org/13.0/#sec-islooselyequal14 15module.exports = function IsLooselyEqual(x, y) {16	if (isSameType(x, y)) {17		return IsStrictlyEqual(x, y);18	}19	if (x == null && y == null) {20		return true;21	}22	if (typeof x === 'number' && typeof y === 'string') {23		return IsLooselyEqual(x, ToNumber(y));24	}25	if (typeof x === 'string' && typeof y === 'number') {26		return IsLooselyEqual(ToNumber(x), y);27	}28	if (typeof x === 'bigint' && typeof y === 'string') {29		var n = StringToBigInt(y);30		if (typeof n === 'undefined') {31			return false;32		}33		return IsLooselyEqual(x, n);34	}35	if (typeof x === 'string' && typeof y === 'bigint') {36		return IsLooselyEqual(y, x);37	}38	if (typeof x === 'boolean') {39		return IsLooselyEqual(ToNumber(x), y);40	}41	if (typeof y === 'boolean') {42		return IsLooselyEqual(x, ToNumber(y));43	}44	if ((typeof x === 'string' || typeof x === 'number' || typeof x === 'symbol' || typeof x === 'bigint') && isObject(y)) {45		return IsLooselyEqual(x, ToPrimitive(y));46	}47	if (isObject(x) && (typeof y === 'string' || typeof y === 'number' || typeof y === 'symbol' || typeof y === 'bigint')) {48		return IsLooselyEqual(ToPrimitive(x), y);49	}50	if ((typeof x === 'bigint' && typeof y === 'number') || (typeof x === 'number' && typeof y === 'bigint')) {51		if (!isFinite(x) || !isFinite(y)) {52			return false;53		}54		// eslint-disable-next-line eqeqeq55		return x == y; // shortcut for step 13.b.56	}57	return false;58};59 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai