www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - should fixedpoint be in phobos? project registry ?

reply Laeeth Isharc <laeethnospam nospamlaeeth.com> writes:
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.
Nov 04 2015
next sibling parent Jakob Ovrum <jakobovrum gmail.com> writes:
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
Nov 04 2015
prev sibling parent reply Gary Willoughby <dev nomad.so> writes:
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
Nov 04 2015
parent Walter Bright <newshound2 digitalmars.com> writes:
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
Nov 04 2015