Files
packages/anda/apps/vlc/lua-math.patch
T
Raboneko 4f6280a3af [f43] add: VLC (#8519) (#8522)
* add: VLC

* cleanup: New macros and bump release down

* fix: NO

* Cleanup and check if VLC is where it thinks it is?

* cat the log to see what's wrong

* cat the log to see what's wrong

* Try to get errors from this thing

* Empty commit because GitHub is testing my patience



* Try this?

* shdfshdfhj

* Cleanup spec and see if this works

* What now

* This will have to do.

---------


(cherry picked from commit a35314d3fc)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
2025-12-20 00:10:57 -06:00

12 lines
457 B
Diff

--- ./share/lua/intf/modules/httprequests.lua.Orig 2023-08-05 06:03:51.000000000 -0400
+++ ./share/lua/intf/modules/httprequests.lua 2024-05-28 14:02:41.569002601 -0400
@@ -34,7 +34,7 @@
what = common.us_tonumber(what)
end
if type(what) == "number" then
- return math.floor(what*math.pow(10,precision)+0.5) / math.pow(10,precision)
+ return math.floor(what*(10^precision)+0.5) / (10^precision)
end
return nil
end