VOGONS


First post, by koyel.kantu@gmail.com

User metadata
Rank Newbie
Rank
Newbie

Hi,i installed dosbox but found that float does not work.the ans which is supposed to come as 2.30000,comes as 2.00000..the fraction thing does not work.please help

Reply 1 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

What game?

Reply 2 of 5, by koyel.kantu@gmail.com

User metadata
Rank Newbie
Rank
Newbie

its about c programming.the float type declaration is not working.

Reply 3 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Use gcc or visual studio express then.

Reply 4 of 5, by koyel.kantu@gmail.com

User metadata
Rank Newbie
Rank
Newbie

so does not dosbox work for floating pt numbers??

Reply 5 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

Yes it does. But the print routines for float values are using some high-precision calculations that only work on x86 using the dynamic core if at all.