![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@stdlib/constants-float64-max-safe-nth-factorial
Advanced tools
Maximum safe nth factorial when stored in double-precision floating-point format.
We believe in a future in which the web is a preferred environment for numerical computation. To help realize this future, we've built stdlib. stdlib is a standard library, with an emphasis on numerical and scientific computation, written in JavaScript (and C) for execution in browsers and in Node.js.
The library is fully decomposable, being architected in such a way that you can swap out and mix and match APIs and functionality to cater to your exact preferences and use cases.
When you use stdlib, you can be absolutely certain that you are using the most thorough, rigorous, well-written, studied, documented, tested, measured, and high-quality code out there.
To join us in bringing numerical computing to the web, get started by checking us out on GitHub, and please consider financially supporting stdlib. We greatly appreciate your continued support!
Maximum safe nth factorial when stored in double-precision floating-point format.
npm install @stdlib/constants-float64-max-safe-nth-factorial
var FLOAT64_MAX_SAFE_NTH_FACTORIAL = require( '@stdlib/constants-float64-max-safe-nth-factorial' );
The maximum safe nth factorial when stored in double-precision floating-point format.
var bool = ( FLOAT64_MAX_SAFE_NTH_FACTORIAL === 170 );
// returns true
var FLOAT64_MAX_SAFE_NTH_FACTORIAL = require( '@stdlib/constants-float64-max-safe-nth-factorial' );
function factorial( n ) {
var a;
var i;
a = 1;
for ( i = 2; i <= n; i++ ) {
a *= i;
}
return a;
}
for ( i = 0; i < 200; i++ ) {
v = factorial( i );
if ( i > FLOAT64_MAX_SAFE_NTH_FACTORIAL ) {
console.log( 'Unsafe: %d', v );
} else {
console.log( 'Safe: %d', v );
}
}
#include "stdlib/constants/float64/max_safe_nth_factorial.h"
Macro for the maximum safe nth factorial when stored in double-precision floating-point format.
This package is part of stdlib, a standard library for JavaScript and Node.js, with an emphasis on numerical and scientific computing. The library provides a collection of robust, high performance libraries for mathematics, statistics, streams, utilities, and more.
For more information on the project, filing bug reports and feature requests, and guidance on how to develop stdlib, see the main project repository.
See LICENSE.
Copyright © 2016-2024. The Stdlib Authors.
0.1.0 (2024-07-27)
<section class="features">A total of 1 person contributed to this release. Thank you to this contributor:
FAQs
Maximum safe nth factorial when stored in double-precision floating-point format.
The npm package @stdlib/constants-float64-max-safe-nth-factorial receives a total of 19,827 weekly downloads. As such, @stdlib/constants-float64-max-safe-nth-factorial popularity was classified as popular.
We found that @stdlib/constants-float64-max-safe-nth-factorial demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.