Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/docs/bugs/nhc13test11.hs

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


-- FIXED.

{- nhc13 seems to print doubles less than 0.1 incorrectly.  The
following is printed as

(1.0000000000000001e-1, 9.00000000000000, 1.00000000000000)

-}

main = print (0.1,0.09,0.01)


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].