This website requires JavaScript.
Explore
Help
Sign In
glen
/
pocomath
Watch
2
Star
1
Fork
You've already forked pocomath
0
Code
Issues
3
Pull Requests
Projects
Releases
Wiki
Activity
9fb3aa2959
pocomath
/
src
/
bigint
/
negate.mjs
4 lines
88 B
JavaScript
Raw
Normal View
History
Unescape
Escape
fix: Separate typed instance for each PocomathInstance (#15) Also starts each PocomathInstance with no types at all, and uses the new situation to eliminate the need for a Complex "base case". Resolves #14. Resolves #13. Co-authored-by: Glen Whitney <glen@studioinfinity.org> Reviewed-on: https://code.studioinfinity.org/glen/pocomath/pulls/15
2022-07-22 20:49:14 +00:00
export
{
Types
}
from
'./Types/bigint.mjs'
feat: Switch to function-based specification of dependencies Allows dependencies to be economically expressed and used. For example, see the new definition of subtract. Credit for the basic idea goes to James Drew, see https://stackoverflow.com/a/41525264 Resolves #21.
2022-07-23 16:55:02 +00:00
export
const
negate
=
{
bigint
:
(
)
=>
b
=>
-
b
}