Skip to content

Updated ceil type definition#2531

Merged
josdejong merged 3 commits into
josdejong:developfrom
simlaticak:fix/ceil-types
Apr 19, 2022
Merged

Updated ceil type definition#2531
josdejong merged 3 commits into
josdejong:developfrom
simlaticak:fix/ceil-types

Conversation

@simlaticak
Copy link
Copy Markdown
Contributor

@simlaticak simlaticak commented Apr 17, 2022

Added types for second argument, that is used for number of decimals, of math.ceil that were missing.

Solves this issue.

@simlaticak simlaticak changed the title Updated ceil types Updated ceil type definition Apr 17, 2022
@josdejong josdejong merged commit 45514a8 into josdejong:develop Apr 19, 2022
gwhitney added a commit that referenced this pull request Apr 21, 2022
  This is a sequel to #2531. Uniformizes the signatures of ceil, fix, floor,
  and round, and updates the TypeScript declarations to match. Adds the
  optional "number of places" argument to the chain versions of ceil, fix,
  and floor. Adds TypeScript tests for all rounding functions.

  Also corrects the TypeScript declaration for `bignumber()` and introduces
  a couple more common abbreviations for TypeScript types.

  Fixes the number-only implementations of floor, ceil, fix, and nthRoot
  to match the full implementation behavior on numbers, and tests this for
  floor.

  Includes some minor documentation updates and additional unit tests for
  the rounding functions.

  Reverts inclusion in AUTHORS of incorrect email for one contributor,
  that occurred in #2531.

  Resolves #2526.
  Resolves #2529.
josdejong pushed a commit that referenced this pull request Apr 25, 2022
This is a sequel to #2531. Uniformizes the signatures of ceil, fix, floor,
  and round, and updates the TypeScript declarations to match. Adds the
  optional "number of places" argument to the chain versions of ceil, fix,
  and floor. Adds TypeScript tests for all rounding functions.

  Also corrects the TypeScript declaration for `bignumber()` and introduces
  a couple more common abbreviations for TypeScript types.

  Fixes the number-only implementations of floor, ceil, fix, and nthRoot
  to match the full implementation behavior on numbers, and tests this for
  floor.

  Includes some minor documentation updates and additional unit tests for
  the rounding functions.

  Reverts inclusion in AUTHORS of incorrect email for one contributor,
  that occurred in #2531.

  Resolves #2526.
  Resolves #2529.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants