
--- Aleksey Gurtovoy <agurtovoy@meta-comm.com> wrote:
Alexander Nasonov writes:
What happened to fixed_c?
Nothing; the stub is still there, waiting for somebody to implement it in full.
It's used here
http://www.boost.org/libs/mpl/doc/paper/html/codegeneration.html
in a form mpl::fixed_c<9,0001> (he-he). ^^^^
It took me some time to realize that the floating-point number was in European notation. Slick.
This one is actually kind of nasty -- ignoring the fact that 0001 is an octal constant, there is no way you can detect the number of leading zeros here, which renders this particular representation unusable. I guess we can go with something like
float_<0,90001,e<+1> >
or something along these lines.
Any plans to redesign it and to put into MPL?
Well, somebody who needs it needs to tackle it. It would be a welcome contribution.
Since I'm the guy who started this entire thread, I guess I should look into it. Cromwell Enage __________________________________ Do you Yahoo!? SBC Yahoo! - Internet access at a great low price. http://promo.yahoo.com/sbc/