[Bug 224326] double subnormals are not well printed on printing with printf (and friends)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Oct 2021 11:15:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224326 --- Comment #3 from Piotr Pawel Stefaniak <pstef@freebsd.org> --- Actually, below is what I'm getting on stable/13. amd64: $ ./test | tail 0x0000000000000200 2.5296161067071825d-321 0x0000000000000100 1.2648080533535913d-321 0x0000000000000080 6.3240402667679563d-322 0x0000000000000040 3.1620201333839781d-322 0x0000000000000020 1.5810100666919891d-322 0x0000000000000010 7.9050503334599451d-323 0x0000000000000008 3.9525251667299726d-323 0x0000000000000004 1.9762625833649863d-323 0x0000000000000002 9.8813129168249318d-324 0x0000000000000001 4.9406564584124659d-324 arm64: % ./test | tail 0x0000000000000200 2.5296161067071825d-321 0x0000000000000100 1.2648080533535913d-321 0x0000000000000080 6.3240402667679563d-322 0x0000000000000040 3.1620201333839781d-322 0x0000000000000020 1.5810100666919891d-322 0x0000000000000010 7.9050503334599451d-323 0x0000000000000008 3.9525251667299726d-323 0x0000000000000004 1.9762625833649863d-323 0x0000000000000002 9.8813129168249318d-324 0x0000000000000001 4.9406564584124659d-324 So better than 0x0000000000000200 1.1125369292537272e-308 0x0000000000000100 1.1125369292536639e-308 0x0000000000000080 1.1125369292536323e-308 0x0000000000000040 1.1125369292536165e-308 0x0000000000000020 1.1125369292536086e-308 0x0000000000000010 1.1125369292536046e-308 0x0000000000000008 1.1125369292536027e-308 0x0000000000000004 1.1125369292536017e-308 0x0000000000000002 1.1125369292536012e-308 0x0000000000000001 1.1125369292536009e-308 but not exactly 0x0000000000000200 2.5296161067071823e-321 0x0000000000000100 1.2648080533535912e-321 0x0000000000000080 6.3240402667679558e-322 0x0000000000000040 3.1620201333839779e-322 0x0000000000000020 1.5810100666919889e-322 0x0000000000000010 7.9050503334599447e-323 0x0000000000000008 3.9525251667299724e-323 0x0000000000000004 1.9762625833649862e-323 0x0000000000000002 9.8813129168249309e-324 0x0000000000000001 4.9406564584124654e-324 -- You are receiving this mail because: You are the assignee for the bug.