github goplus/gop v0.6.30
Release v0.6.30

latest releases: v1.3.0-pre.2, v1.3.0-pre.1, v1.2.6...
4 years ago

Rational number: bigint, bigrat, bigfloat

We introduce rational number as native Go+ types. We use -r suffix as a rational constant. For example, (1r << 200) means a big int whose value is equal to 2200. And 4/5r means the rational constant 4/5.

a := 1r << 65   // bigint, large than int64
b := 4/5r       // bigrat
c := b - 1/3r + 3 * 1/2r
println(a, b, c)

Import go packages

Now we support importing constants/variables of Go packages.
Thanks contribution of visualfc (visualfc@goplus.org).

Contributing

The Go+ project welcomes all contributors. We appreciate your help!

Here are list of Go+ Contributors. We award an email account (XXX@goplus.org) for every contributor. And we suggest you commit code by using this email account:

git config --global user.email XXX@goplus.org

What does a contributor of Go+ means? He must meet one of the following conditions:

  • At least one pull request of a full feature implemention.
  • At least three pull requests of feature enhancements.
  • At least ten pull requests of any kind issues.

Don't miss a new gop release

NewReleases is sending notifications on new releases.