[dylan-lang/opendylan] 326fdd: [common-dylan] Add float classification.
GitHub <[email protected]> Fri, 13 Nov 2015 19:43:39 -0800
| Newsgroups | gmane.comp.lang.dylan.gwydion.cvs |
|---|---|
| Message-ID | <5646adebad452_1823ff87ff912a0108079@hookshot-fe5-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/dylan-lang/opendylan
Commit: 326fdd843c0f090db6532baf0da775af0ba76c41
https://github.com/dylan-lang/opendylan/commit/326fdd843c0f090db6532baf0da775af0ba76c41
Author: Bruce Mitchener <[email protected]>
Date: 2015-11-09 (Mon, 09 Nov 2015)
Changed paths:
M documentation/release-notes/source/2015.1.rst
M sources/common-dylan/library.dylan
M sources/common-dylan/numerics.dylan
Log Message:
-----------
[common-dylan] Add float classification.
Add a classify-float that returns whether the float is a NaN, infinite,
zero, subnormal or normal value.
* sources/common-dylan/library.dylan
(module common-extensions): Export classify-float, <float-classification>.
* sources/common-dylan/numerics.dylan
(<float-classification>): New.
(classify-float): New.
* documentation/release-notes/source/2015.1.rst: Update.
Commit: a9716fae1483e8dc2107f8a4cca2c69cf2eca00f
https://github.com/dylan-lang/opendylan/commit/a9716fae1483e8dc2107f8a4cca2c69cf2eca00f
Author: Bruce Mitchener <[email protected]>
Date: 2015-11-09 (Mon, 09 Nov 2015)
Changed paths:
M sources/common-dylan/format.dylan
Log Message:
-----------
[common-dylan] Use classify-float in float-to-string.
* sources/common-dylan/format.dylan
(nan?): Use classify-float to implement correctly.
(infinity?): Rename to infinite?.
(infinite?): Use classify-float to implement correctly.
(float-to-string): Call infinite? now instead of infinity?.
Commit: fa7091723a6e7f6c1034a1c182f2cde441aa54e3
https://github.com/dylan-lang/opendylan/commit/fa7091723a6e7f6c1034a1c182f2cde441aa54e3
Author: Bruce Mitchener <[email protected]>
Date: 2015-11-09 (Mon, 09 Nov 2015)
Changed paths:
M sources/common-dylan/tests/functions.dylan
M sources/common-dylan/tests/library.dylan
M sources/common-dylan/tests/specification.dylan
Log Message:
-----------
[common-dylan,tests] Test float classification.
The <double-float> classification currently fails on the C back-end
due to a bug outside of this code.
* sources/common-dylan/tests/specification.dylan
(module-spec common-extensions): Add classify-float.
* sources/common-dylan/tests/functions.dylan
(classify-single-float, classify-double-float): Helper functions.
(function-test classify-float): Test an example of each sort
of floating point value, both single and double.
* sources/common-dylan/tests/library.dylan
(library common-dylan-test-suite): Import dylan so that we
can get at dylan-extensions.
(module common-dylan-test-suite): Import encode-single-float
and encode-double-float.
Commit: 081535e9001ac63b641a2c8f45e9401656ece4c9
https://github.com/dylan-lang/opendylan/commit/081535e9001ac63b641a2c8f45e9401656ece4c9
Author: Peter S. Housel <[email protected]>
Date: 2015-11-13 (Fri, 13 Nov 2015)
Changed paths:
M documentation/release-notes/source/2015.1.rst
M sources/common-dylan/format.dylan
M sources/common-dylan/library.dylan
M sources/common-dylan/numerics.dylan
M sources/common-dylan/tests/functions.dylan
M sources/common-dylan/tests/library.dylan
M sources/common-dylan/tests/specification.dylan
Log Message:
-----------
Merge pull request #890 from waywardmonkeys/float-classification
[common-dylan] Add float classification.
Compare: https://github.com/dylan-lang/opendylan/compare/fe773a4209f4...081535e9001a
_______________________________________________
chatter mailing list
[email protected]
https://lists.opendylan.org/mailman/listinfo/chatter