Skip to content

ft_printf_test #180 #151

Description

@Sirbiladze-Irakli

Hi!
Thank's for 42FileChecker!
In ft_printf basic test #180 wrong output.
Look:

0180 (unsigned long)

ft_printf("%lu", -42);

  1. ( 3) -->-42<--
  2. ( 20) -->18446744073709551574<--

It's your's.

ft_printf("0)%lu| - my\n", -42);
printf("0)%lu| - orig\n", -42);

0)4294967254| - my
0)4294967254| - orig

It's mine.

can you fix it, or ask me why is that?
Thank's

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions