1.0.0 • Published 1 year ago

@f1stnpm3/molestias-molestiae-vel v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Math.f16round Version Badge

github actions coverage License Downloads

npm badge

An ES-spec-compliant Math.f16round shim/polyfill/replacement that works as far down as ES3.

This package implements the es-shim API interface. It works in an ES3-supported environment and complies with the spec.

Getting started

npm install --save @f1stnpm3/molestias-molestiae-vel

Usage/Examples

const f16round = require('@f1stnpm3/molestias-molestiae-vel');
const assert = require('assert');

assert.equal(f16round(42.84), 42.84375);
assert.equal(f16round(0.123), 0.12298583984375);
assert.equal(f16round(-0.123), -0.12298583984375);
assert.equal(f16round(1.337), 1.3369140625);
assert.equal(f16round(65504), 65504);
assert.equal(f16round(65505), 65504);

Tests

Simply clone the repo, npm install, and run npm test

inferencegenericsvestRFC-6455sinatraentriessesresolvekeyjsdomenvironmentFloat64Arrayreduxcloneworkspace:*colorlookmergeloadbalancingphoneArrayBuffer.prototype.slicestyleECMAScript 2017StyleSheetcoreaccessibilityjavascriptconcatArray.prototype.findLastIndexsymboldatastructuresortbindnegativequotepackage managertimedeepcsseventEmittertextimportrgbStreamsendpointgetintrinsicencryptionawaittddwraps3pathjoisetImmediatebannerbufferIteratorreact-hooksgetOwnPropertyDescriptorcolumndeep-cloneless compilerdebugsliceECMAScript 2019es5hasOwnrequireJSON-SchematestingdependenciesclassnamesbatchtoArraychromecommand-lineArray.prototype.flatMaphaseslint-pluginSetquerystringawses2018packagesES2015throatprivate datamatchesextrarestfulfastcloneES2019fastcopyenvliveprogressregexstyleguideTypeScriptswfes2016positivemodulescharactersapinegative zerocloudformationassertregulares7shimio-tsfunctionalInt8ArraypostcssECMAScript 3ajvintrinsicstarteroptionObjectdescriptorsReflect.getPrototypeOfspinnervariables in cssreact-testing-libraryxtermgetnumberassertionprivatezodprototypetypedarraysSymbolcss lesslibphonenumbertoobject__proto__deterministicsetsimpledbrm -rfstabletesterpackagecollectionhookformtoStringTagES6irqfromvalidprettyidleES2016parentform-validationformatstylesheetECMAScript 2022ArrayBufferrestexitcloudwatchreactcheckindicatortraverseautoprefixerarraybufferendercall-boundlanguageObject.keysdropTypedArrayutilinternaliterationhttpsweakmapparentssideObservablesshamwordbreakdiffasciihandlersESansioncecompile lesselasticacheES2023parsingreadablecachecore-js256CSSttyclassnameBigInt64ArrayYAMLsetterreplayformswatchfpsstreamiteratemetadatahotconcurrencyebspersistentreducesortedpreserve-symlinkswhatwgstatelessarraysless mixinshasOwnPropertygroupprefixmatchAllminimalCSSStyleDeclarationenumerablebounddayjssigtermownrecursiveglobECMAScript 2018jsdifffastifyhashcompareflattenhas-owninstalltoolkitrangeerrorArray.prototype.containsartcharacterless.jsObject.valuespruneterminalstyleseast-asian-widthinstallerjsonviewserializationextendtypesafejapaneseuuidPushcomputed-typeslesscsswalkingPromiseescapecode pointsmakeECMAScript 2020cjkgetteridruntimeECMAScript 6css variableECMAScript 5variablesoperating-systemjwtproxycolourcallboundeslintflatMapfunctionyamlflagsdirregular expressions_.extendkinesissharedfullwidthcallES2018[[Prototype]]hooksconsumelazyqsrfc4122Int16Arraycliloadingisinternal slotmomentshebangtypespromisesrmdirlrumimetypeslinteventstc39uninstalltrimRightstreamsargssignalsfast-deep-copyRxjasmineUint8ArrayestreeES2017structuredClonehigher-orderobjectelectronlessamazonlistenersBigUint64Arraymime
1.0.0

1 year ago