summation

closed account (4w7X92yv)
Hello

Can you do a summation in c++?
I have to calculate a binary number to a decimal number using IEEE 754 single precision

If there is a funcion, where can i fill in the variables like the index,...

Best Regards
Joriek
closed account (o1vk4iN6)
What do you mean by binary number, do you mean BCD?
closed account (4w7X92yv)
i mean a 32 bit code
like:
00111110001000000000000000000000
Last edited on
closed account (o1vk4iN6)
You can use bitset http://www.cplusplus.com/reference/stl/bitset/bitset/

Last edited on
Topic archived. No new replies allowed.