| Thread overview | ||||||
|---|---|---|---|---|---|---|
|
November 04, 2015 should fixedpoint be in phobos? project registry ? | ||||
|---|---|---|---|---|
| ||||
Point came up in a discussion in the learn group that fixedpoint arithmetic would be quite useful, especially in the financial domain. There does exist a github library for this - it looked reasonably thought-through, but I haven't used it as when I tried it didn't compile with the version of dmd I was using. https://github.com/jaypha/fixed Sadly, I'm not in a position either to write it myself, or to have the code written and open-sourced for the foreseeable future, as it's not yet something I need, although might be later. More generally, does it make sense to have a suggested project registry for those who would like to contribute to Phobos and have the skill to do so but aren't sure what to work on ? Projects could be added after discussion and approval. At the very least, it surely must make sense to have some kind of place for that to avoid duplication of effort (something that has happened before). Maybe a way for people to find each other outside forums (since people don't always see messages involved in the community participates actively on forums). Laeeth. | ||||
November 04, 2015 Re: should fixedpoint be in phobos? project registry ? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Laeeth Isharc | On Wednesday, 4 November 2015 at 12:30:24 UTC, Laeeth Isharc wrote: > More generally, does it make sense to have a suggested project registry for those who would like to contribute to Phobos and have the skill to do so but aren't sure what to work on ? Projects could be added after discussion and approval. > > At the very least, it surely must make sense to have some kind of place for that to avoid duplication of effort (something that has happened before). Maybe a way for people to find each other outside forums (since people don't always see messages involved in the community participates actively on forums). Maybe this wiki page serves the purpose? http://wiki.dlang.org/Wish_list | |||
November 04, 2015 Re: should fixedpoint be in phobos? project registry ? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Laeeth Isharc | On Wednesday, 4 November 2015 at 12:30:24 UTC, Laeeth Isharc wrote: > Point came up in a discussion in the learn group that fixedpoint arithmetic would be quite useful, especially in the financial domain. There does exist a github library for this - it looked reasonably thought-through, but I haven't used it as when I tried it didn't compile with the version of dmd I was using. I agree a fixed point decimal type would be epic in D. There is one bit-rotting on the formal review queue as we speak: http://wiki.dlang.org/Review_Queue | |||
November 04, 2015 Re: should fixedpoint be in phobos? project registry ? | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Gary Willoughby | On 11/4/2015 7:35 AM, Gary Willoughby wrote: > On Wednesday, 4 November 2015 at 12:30:24 UTC, Laeeth Isharc wrote: >> Point came up in a discussion in the learn group that fixedpoint arithmetic >> would be quite useful, especially in the financial domain. There does exist a >> github library for this - it looked reasonably thought-through, but I haven't >> used it as when I tried it didn't compile with the version of dmd I was using. > > I agree a fixed point decimal type would be epic in D. There is one bit-rotting > on the formal review queue as we speak: > > http://wiki.dlang.org/Review_Queue And there's the sad tale of halffloat: https://www.digitalmars.com/sargon/halffloat.html | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply