[LLVMdev] [RFC] Add a scaled number class

Jasper Neumann jn at sirrida.de
Sun Jun 22 06:42:47 PDT 2014


Hello James, hello folks!

 > Simply calling it "scaled unsigned integer" is more accurate.
 > Or "unsigned integer with scale factor".

Stupid question: Why only unsigned?
Doesn't such a construct make also sense for signed numbers?
What about scaled floats?

Best regards
Jasper



More information about the llvm-dev mailing list