[haiku-bugs] [Haiku] #16505: BPoint::PrintToStream() should print a float with decimal places, not tructated to int

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Tue, 01 Sep 2020 21:08:33 -0000

#16505: BPoint::PrintToStream() should print a float with decimal places, not
tructated to int
--------------------------------+--------------------------
 Reporter:  smallstepforman     |       Owner:  nobody
     Type:  bug                 |      Status:  new
 Priority:  normal              |   Milestone:  Unscheduled
Component:  Kits/Interface Kit  |     Version:  R1/beta2
 Keywords:  BPoint              |  Blocked By:
 Blocking:                      |    Platform:  All
--------------------------------+--------------------------
 The BPoint members are floats, so it makes sense to print floats with
 decimal points instead of truncating the remainder and dislaying it as an
 integer.  The Interface kit works natively in floats, so it makes sense to
 print debug out in floats.  As a developer, I end up ignoring the built in
 API and interogate the members manually to display properly.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16505>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts:

  • » [haiku-bugs] [Haiku] #16505: BPoint::PrintToStream() should print a float with decimal places, not tructated to int - Haiku