Skip to content

Commit

Permalink
Update mds
Browse files Browse the repository at this point in the history
  • Loading branch information
rtheunissen committed Oct 28, 2018
1 parent 0a3797a commit 703f306
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 8 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
All notable changes to this project will be documented in this file.
This project follows [Semantic Versioning](http://semver.org/).

## [0.0.0] - 2018-10-13
- Initial public exposure.
## [1.0.0] - 2018-10-28
- Initial public release, request for comments.
Empty file removed CONTRIBUTING.md
Empty file.
39 changes: 33 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,49 @@
[![Build Status](https://travis-ci.org/php-decimal/extension.svg?branch=master)](https://travis-ci.org/php-decimal/extension)
[![Build status](https://ci.appveyor.com/api/projects/status/lg5nw5tqgpmv1c33?svg=true)](https://ci.appveyor.com/project/rtheunissen/php-decimal)

Adds support for correctly-rounded arbitrary precision decimal floating point arithmetic in PHP 7.
Correctly-rounded, arbitrary precision decimal floating-point arithmetic in PHP 7.

This library is unreleased, and still a work in progress.
## Documentation

```
See http://php-decimal.io

## Dependencies

- PHP 7
- libmpdec 2.4

```bash
sudo apt-get install libmpdec-dev
```

## Install

### PECL

```
pecl install decimal
```

### Manual

```
git clone git@github.com:php-decimal/extension ext-decimal
cd ext-decimal
phpize
./configure
make
sudo make install
```

You will also need to enable the extension. You can do this on temporarily using
`php -d extension=decimal.so` or by adding `extension=decimal.so` to your INI. If
you're managing your PHP installs with [phpbrew](), you can use `phpbrew ext enable decimal`.
## Enable

You can do this temporarily using `php -dextension=decimal.so` or by adding `extension=decimal.so` to your INI. If you manage PHP with [phpbrew](https://github.com/phpbrew/phpbrew), you can use `phpbrew ext enable decimal`.

## Tests

```
php run-tests.php -P -q
```


0 comments on commit 703f306

Please sign in to comment.