rational

Version, currently master branch1 version
  • master branchlatestApr 13, 2017

github.com/Nephos/rational

Rational numbers implementation in crystal

0 stars
0 dependents
License: GPL-3.0

Installation

# Add this to your shard.yml
dependencies:
  rational:
    github: Nephos/rational
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.20.3
License
GPL-3.0
Author
Arthur Poulet
Target
  • rational from src/rational.cr

Dependencies

This version declares no dependencies.

README

rational

TODO: Write a description here

Installation

Add this to your application's shard.yml:

dependencies:
  rational:
    github: Nephos/rational

Usage

require "rational"

Rational.new(1) / Rational.new(2) # => 1/2

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/Nephos/rational/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • Nephos Arthur Poulet - creator, maintainer