shravan20 / flare.ts

A powerful utility library for clean code in js (npm package)
https://shravan20.github.io/flare.ts
MIT License
2 stars 6 forks source link

Create Successfully Created a MathUtils to base mathematics operations #26

Closed Digvijay2347 closed 10 months ago

Digvijay2347 commented 10 months ago

added code for your requirements

Summary by CodeRabbit

coderabbitai[bot] commented 10 months ago

Walkthrough

The proposed changes introduce a MathUtils class, a comprehensive utility for mathematical operations. It provides functions for trigonometry, number type checking, primality testing, precision handling, and more. The code is well-documented and adheres to best practices, enhancing the project's mathematical capabilities.

Changes

File Summary
MathUtils A new utility class providing a wide range of mathematical functions. Includes trigonometric operations, number type checks, primality tests, precision handling, and more. Each function is well-documented with purpose, usage, parameters, return value, and examples.

🐇

In the land of code, where logic intertwines,

A rabbit hops, leaving traces of lines.

With each soft thump, a function takes form,

In the storm of numbers, a utility is born.

Trigonometry, precision, checks, and tests,

In the burrow of MathUtils, math finds its rest.

So hop along, coder, with joy and cheer,

For with MathUtils, solutions are near. 🎉

Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - Mention `@coderabbitai` in any *review comment* for bot assistance. - Note: Review comments are made on code diffs or files, not on the PR overview. ### Pause Incremental Reviews - Insert `@coderabbitai: ignore` in the PR description to halt the bot's ongoing reviews. Remove the line to resume. - Additionally, enter `@coderabbitai pause` to halt the bot's ongoing reviews as any issue or review comment. To resume reviews, enter `@coderabbitai resume` as any issue or review comment.
shravan20 commented 10 months ago

Marking this as closed for now