Socket
Socket
Sign inDemoInstall

@stdlib/constants-float64-sqrt-eps

Package Overview
Dependencies
60
Maintainers
4
Versions
14
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

include/stdlib/constants/float64/sqrt_eps.h

7

package.json
{
"name": "@stdlib/constants-float64-sqrt-eps",
"version": "0.0.7",
"version": "0.0.8",
"description": "Square root of double-precision floating-point epsilon.",

@@ -20,2 +20,3 @@ "license": "Apache-2.0",

"example": "./examples",
"include": "./include",
"lib": "./lib",

@@ -38,3 +39,5 @@ "test": "./test"

},
"dependencies": {},
"dependencies": {
"@stdlib/utils-library-manifest": "^0.0.x"
},
"devDependencies": {

@@ -41,0 +44,0 @@ "@stdlib/math-base-special-abs": "^0.0.x",

@@ -21,3 +21,3 @@ <!--

# Square Root of Epsilon
# SQRT_EPS

@@ -43,6 +43,6 @@ [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->

```javascript
var FLOAT64_SQRT_EPSILON = require( '@stdlib/constants-float64-sqrt-eps' );
var SQRT_EPS = require( '@stdlib/constants-float64-sqrt-eps' );
```
#### FLOAT64_SQRT_EPSILON
#### SQRT_EPS

@@ -52,3 +52,3 @@ [Square root][@stdlib/math/base/special/sqrt] of [double-precision floating-point epsilon][@stdlib/constants/float64/eps].

```javascript
var bool = ( FLOAT64_SQRT_EPSILON === 0.14901161193847656e-7 );
var bool = ( SQRT_EPS === 0.14901161193847656e-7 );
// returns true

@@ -71,3 +71,3 @@ ```

var randu = require( '@stdlib/random-base-randu' );
var FLOAT64_SQRT_EPSILON = require( '@stdlib/constants-float64-sqrt-eps' );
var SQRT_EPS = require( '@stdlib/constants-float64-sqrt-eps' );

@@ -84,3 +84,3 @@ var bool;

delta = abs( a - b );
tol = FLOAT64_SQRT_EPSILON * max( abs( a ), abs( b ) );
tol = SQRT_EPS * max( abs( a ), abs( b ) );

@@ -102,2 +102,56 @@ return ( delta <= tol );

<!-- C interface documentation. -->
* * *
<section class="c">
## C APIs
<!-- Section to include introductory text. Make sure to keep an empty line after the intro `section` element and another before the `/section` close. -->
<section class="intro">
</section>
<!-- /.intro -->
<!-- C usage documentation. -->
<section class="usage">
### Usage
```c
#include "stdlib/constants/float64/sqrt_eps.h"
```
#### STDLIB_CONSTANT_FLOAT64_SQRT_EPS
Macro for the [square root][@stdlib/math/base/special/sqrt] of [double-precision floating-point epsilon][@stdlib/constants/float64/eps].
</section>
<!-- /.usage -->
<!-- C API usage notes. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
<section class="notes">
</section>
<!-- /.notes -->
<!-- C API usage examples. -->
<section class="examples">
</section>
<!-- /.examples -->
</section>
<!-- /.c -->
<!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->

@@ -156,4 +210,4 @@

[test-image]: https://github.com/stdlib-js/constants-float64-sqrt-eps/actions/workflows/test.yml/badge.svg
[test-url]: https://github.com/stdlib-js/constants-float64-sqrt-eps/actions/workflows/test.yml
[test-image]: https://github.com/stdlib-js/constants-float64-sqrt-eps/actions/workflows/test.yml/badge.svg?branch=v0.0.8
[test-url]: https://github.com/stdlib-js/constants-float64-sqrt-eps/actions/workflows/test.yml?query=branch:v0.0.8

@@ -170,2 +224,9 @@ [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/constants-float64-sqrt-eps/main.svg

[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://gitter.im/stdlib-js/stdlib/
[stdlib]: https://github.com/stdlib-js/stdlib
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
[umd]: https://github.com/umdjs/umd

@@ -177,10 +238,4 @@ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules

[esm-url]: https://github.com/stdlib-js/constants-float64-sqrt-eps/tree/esm
[branches-url]: https://github.com/stdlib-js/constants-float64-sqrt-eps/blob/main/branches.md
[chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
[chat-url]: https://gitter.im/stdlib-js/stdlib/
[stdlib]: https://github.com/stdlib-js/stdlib
[stdlib-authors]: https://github.com/stdlib-js/stdlib/graphs/contributors
[stdlib-license]: https://raw.githubusercontent.com/stdlib-js/constants-float64-sqrt-eps/main/LICENSE

@@ -187,0 +242,0 @@

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc