linux - Dealing with decimals in C -
I am writing an application in C (under Linux) which works with prices. The program gets an integer value (M, E) in the form of value quotation, so the resulting value is only 'm * 10 ^ e'.
I would like to manipulate prices with both arithmetic operations and use the functions like " printf " - functions for output formatting. I have to do that very fast What is the fastest way in C? I have read about it, but the lack of libc support has made it impossible to use them in a standard way. Thank you. You can of course use a library as if it is arbitrarily floating-point accurate It should be able to deal with your data.
Comments
Post a Comment