Handling big FP numbers
Murilo
murilomiranda92 at hotmail.com
Sat Feb 9 04:39:06 UTC 2019
On Saturday, 9 February 2019 at 04:36:26 UTC, DanielG wrote:
> On Saturday, 9 February 2019 at 04:32:44 UTC, Murilo wrote:
>> Thank you very much for clearing this up. But how do I make D
>> behave just like C? Is there a way to do that?
>
> Off the top of my head, you'd have to link against libc so you
> could use printf() directly.
>
> But may I ask why that is so important to you?
That is important because there are some websites with problems
for you to send them your code and it automatically checks if you
got it right, in D it will always say "Wrong Answer" cause it
outputs a different string than what is expected.
More information about the Digitalmars-d-learn
mailing list