Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/eslint-8.57.0
Browse files Browse the repository at this point in the history
  • Loading branch information
s-kybound committed Apr 14, 2024
2 parents 0edc825 + d9bd5a6 commit fdcf40c
Show file tree
Hide file tree
Showing 5 changed files with 376 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

version: 2
updates:
- package-ecosystem: "yarn" # See documentation for possible values
- package-ecosystem: "npm" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "weekly"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@types/estree": "^1.0.0",
"acorn": "^8.8.2",
"acorn-walk": "^8.2.0",
"js-base64": "^3.7.5"
"js-base64": "^3.7.7"
},
"scripts": {
"build-libs": "npx ts-node ./src/compile-libs.ts",
Expand Down
22 changes: 22 additions & 0 deletions src/stdlib/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,10 @@ export const $62$$61$: Function = (

export const zero$63$: Function = (n: core.SchemeNumber) =>
$61$(n, make_number(0));
export const infinity$63$: Function = (n: core.SchemeNumber) =>
$61$(n, core.SchemeReal.INFINITY) || $61$(n, core.SchemeReal.NEG_INFINITY);
export const nan$63$: Function = (n: core.SchemeNumber) =>
n === core.SchemeReal.NAN;
export const positive$63$: Function = (n: core.SchemeNumber) =>
$62$(n, make_number(0));
export const negative$63$: Function = (n: core.SchemeNumber) =>
Expand Down Expand Up @@ -408,6 +412,14 @@ export const lcm: Function = (...vals: core.SchemeInteger[]) => {
return vals.reduce(atomic_lcm);
};

export const odd$63$: Function = core.odd$63$;
export const even$63$: Function = core.even$63$;

export const numerator: Function = core.numerator;
export const denominator: Function = core.denominator;
export const exact: Function = core.exact;
export const inexact: Function = core.inexact;

export const square: Function = (n: core.SchemeNumber) => $42$(n, n);
export const expt: Function = core.expt;
export const exp: Function = core.exp;
Expand All @@ -419,6 +431,16 @@ export const tan: Function = core.tan;
export const asin: Function = core.asin;
export const acos: Function = core.acos;
export const atan: Function = core.atan;
export const floor: Function = core.floor;
export const ceiling: Function = core.ceiling;
export const truncate: Function = core.truncate;
export const round: Function = core.round;
export const make$45$rectangular: Function = core.make$45$rectangular;
export const make$45$polar: Function = core.make$45$polar;
export const real$45$part: Function = core.real$45$part;
export const imag$45$part: Function = core.imag$45$part;
export const magnitude: Function = core.magnitude;
export const angle: Function = core.angle;

export const PI = core.PI;
export const E = core.E;
Expand Down
Loading

0 comments on commit fdcf40c

Please sign in to comment.