24.8 fixed to float64/double three ways

程安絮 chenganxu2014 at sina.com
Wed Jan 18 06:45:24 UTC 2023


In main.go are three ways to convert 24.8 fixed value to float64/double type.
The 3d one is my way which is not efficient but is useful to illustrate how to convert 24.8 fixed value to float64/double type.--------------------------------程安絮
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230118/d4d9752a/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.go
Type: text/x-go
Size: 3847 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20230118/d4d9752a/attachment.bin>


More information about the wayland-devel mailing list