Thread overview
should fixedpoint be in phobos? project registry ?
Nov 04, 2015
Laeeth Isharc
Nov 04, 2015
Jakob Ovrum
Nov 04, 2015
Gary Willoughby
Nov 04, 2015
Walter Bright
November 04, 2015
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
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
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
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