I thought the purpose was to interpret user input as mathematical calculations.
Type: Posts; User: CornedBee
I thought the purpose was to interpret user input as mathematical calculations.
Hey, I'm fine with whatever you decide to do, and I don't have a problem with the wording of your post either. I think you're setting yourself up for failure (possibly depending on what you consider...
Yes, but in a very limited way. I only suggest this because you seem to want to represent rational numbers precisely, while at the same time have the ability to hold irrational numbers. If either of...
A concept is the set of requirements (syntactic and semantic) that a template puts on its arguments. For example, a type that you want to store in a std::vector needs to fulfill at least these...
Generic programming is a paradigm supported by surprisingly few languages. Among those are C++, D, and Haskell. GP usually uses static polymorphism techniques (templates in C++), where hierarchies...
Please note that object-oriented design is probably not the right way of doing a math library. Relations between various number types have a tendency to break the OOD inheritance models in ugly,...