wl_fixed_to_double() function only correct when fixed value is greater than zero
程安絮
chenganxu2014 at sina.com
Mon Jan 16 06:43:43 UTC 2023
In file main.go is my implementation of FixedToFloat64 vs wl_fixed_to_double, the comments can help you to understand my codes.
Since event wl_touch::orientation's orientation arg is fixed value and can be negative, I think this bug is not acceptable.
Besides, I don't understand how wl_fixed_to_double works, can anyone illustrate that for me?
--------------------------------程安絮
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230116/41a6f4cd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.go
Type: text/x-go
Size: 2898 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230116/41a6f4cd/attachment.bin>
More information about the wayland-devel
mailing list