Skip to content

Commit

Permalink
clean up of 2-parameter skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravenwater committed Feb 23, 2024
1 parent 80a8e49 commit b46c35a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 77 deletions.
6 changes: 3 additions & 3 deletions include/universal/number/skeleton_2params/attributes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ namespace sw { namespace universal {

// free function sign
template<unsigned nbits, unsigned es, typename bt>
bool sign(const twoparam<nbits, bt>& v) {
bool sign(const twoparam<nbits, es, bt>& v) {
return v.sign();
}

// generate the maxneg through maxpos value range of a logarithmic number system configuration
// the type of arithmetic, Modulo or Saturating, does not affect the range
template<unsigned nbits, unsigned es, typename bt>
std::string twoparam_range(const twoparam<nbits, bt) {
using TWOPARAM = twoparam<nbits, bt>;
std::string twoparam_range(const twoparam<nbits, es, bt>& a) {
using TWOPARAM = twoparam<nbits, es, bt>;
std::stringstream s;
TWOPARAM l;
s << std::setw(45) << type_tag(v) << " : [ "
Expand Down
74 changes: 0 additions & 74 deletions include/universal/number/skeleton_2params/bla

This file was deleted.

0 comments on commit b46c35a

Please sign in to comment.