Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xooniverse/e
A Dart library provides a comprehensive set of tools for working with Euler's number.
https://github.com/xooniverse/e
Last synced: 7 days ago
JSON representation
A Dart library provides a comprehensive set of tools for working with Euler's number.
- Host: GitHub
- URL: https://github.com/xooniverse/e
- Owner: xooniverse
- License: mit
- Created: 2024-08-28T09:01:37.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T09:08:33.000Z (4 months ago)
- Last Synced: 2024-11-06T07:33:49.365Z (about 2 months ago)
- Language: Dart
- Size: 3.91 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Euler's Number Library for Dart
## Overview
A Dart library provides a comprehensive set of tools for working with Euler's number (`e`). Whether you're dealing with basic arithmetic, bitwise operations, or more advanced mathematical computations, this library leverages the unique properties of `e` to offer powerful and versatile solutions.
## Features
- **Basic Arithmetic**: Perform addition, subtraction, multiplication, division, and modulus operations with `e`.
- **Bitwise Operations**: Use bitwise AND, OR, XOR, and NOT operations on the integer part of `e`.
- **Power Operations**: Raise `e` to the power of any number.
- **Integer Division and Shifts**: Conduct integer division and bitwise shifts on `e`.
- **Negation**: Easily negate `e` for your calculations.## Installation
Add the following to your `pubspec.yaml` file:
```yaml
dependencies:
e: ^1.0.0
```Then, run `flutter pub get` or `dart pub get` to install the package.
## Usage
Here’s a quick example of how to use the library:
```dart
import 'package:eulers_number/eulers_number.dart';void main() {
final e = E();print('Value of e: $e');
print('e + 2: ${e + 2}');
print('e * 3: ${e * 3}');
print('e / 2: ${e / 2}');
print('e % 2: ${e % 2}');
}
```## Contributing
Contributions are welcome! Please feel free to submit a pull request or open an issue.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.