Fixed and Normed have evolved independently. Therefore, some functions are specialized even though they do not need specialization.
cf. ee5bd54...kimikage:commonize PR #151
I'm going to refactor the codes by taking the following 3 steps.
- Commonize the existing implementation code
- Add the functions which are implemented only in either (e.g. rounding functions for
Fixed)
- Commonize the test codes
Although "test-first" is a good practice, the step 3. requires major renovations. Please give me your advice if you have any ideas.
FixedandNormedhave evolved independently. Therefore, some functions are specialized even though they do not need specialization.cf.
ee5bd54...kimikage:commonizePR #151I'm going to refactor the codes by taking the following 3 steps.
Fixed)Although "test-first" is a good practice, the step 3. requires major renovations. Please give me your advice if you have any ideas.