Time |
Nick |
Message |
00:00 |
|
ssieb joined #minetest-dev |
00:07 |
|
paramat joined #minetest-dev |
00:14 |
|
red-001 joined #minetest-dev |
00:46 |
|
opal[m] joined #minetest-dev |
00:51 |
|
YuGiOhJCJ joined #minetest-dev |
01:31 |
|
Cornelia joined #minetest-dev |
02:03 |
|
warr[m] joined #minetest-dev |
02:23 |
|
Lymkwi joined #minetest-dev |
04:17 |
|
Corvus_ joined #minetest-dev |
04:22 |
|
BakerPrime_ joined #minetest-dev |
04:23 |
|
BakerPrime joined #minetest-dev |
05:15 |
|
GreenDimond joined #minetest-dev |
05:24 |
|
behalebabo joined #minetest-dev |
05:25 |
|
ensonic joined #minetest-dev |
07:19 |
|
Corvus__ joined #minetest-dev |
07:30 |
|
YuGiOhJCJ joined #minetest-dev |
07:30 |
|
twoelk joined #minetest-dev |
07:35 |
|
fireglow joined #minetest-dev |
08:22 |
|
DI3HARD139 joined #minetest-dev |
09:11 |
|
ManElevation joined #minetest-dev |
09:48 |
|
warr[m] joined #minetest-dev |
09:56 |
|
opal[m] joined #minetest-dev |
10:25 |
|
nyuszika7h left #minetest-dev |
10:26 |
|
proller joined #minetest-dev |
11:08 |
|
Fixer joined #minetest-dev |
11:16 |
|
ManElevation joined #minetest-dev |
11:20 |
|
Krock joined #minetest-dev |
11:38 |
|
ensonic joined #minetest-dev |
11:53 |
|
proller joined #minetest-dev |
12:22 |
|
book` joined #minetest-dev |
13:02 |
|
Player-2 joined #minetest-dev |
13:31 |
|
YuGiOhJCJ joined #minetest-dev |
14:00 |
|
proller joined #minetest-dev |
14:12 |
|
Wuzzy joined #minetest-dev |
14:14 |
|
troller joined #minetest-dev |
14:33 |
|
ManElevation joined #minetest-dev |
15:09 |
|
proller joined #minetest-dev |
15:17 |
|
ensonic joined #minetest-dev |
15:41 |
|
AndroBuilder joined #minetest-dev |
15:51 |
|
ManElevation_ joined #minetest-dev |
16:04 |
|
antims joined #minetest-dev |
16:11 |
|
entuland joined #minetest-dev |
17:12 |
|
twoelk left #minetest-dev |
17:14 |
|
rdococ joined #minetest-dev |
17:19 |
|
Gael-de-Sailly joined #minetest-dev |
17:22 |
|
proller joined #minetest-dev |
17:27 |
|
proller joined #minetest-dev |
17:48 |
|
Gael-de-Sailly joined #minetest-dev |
18:15 |
|
longerstaff13 joined #minetest-dev |
18:15 |
|
longerstaff13 joined #minetest-dev |
18:56 |
|
Gael-de-Sailly joined #minetest-dev |
19:16 |
|
Gael-de-Sailly joined #minetest-dev |
19:30 |
|
Cornelia joined #minetest-dev |
19:37 |
|
ensonic joined #minetest-dev |
20:13 |
|
proller joined #minetest-dev |
20:16 |
|
proller joined #minetest-dev |
20:22 |
|
proller joined #minetest-dev |
20:32 |
|
Lone-Star joined #minetest-dev |
20:33 |
|
paramat joined #minetest-dev |
20:34 |
|
proller joined #minetest-dev |
20:40 |
|
proller joined #minetest-dev |
20:43 |
|
proller joined #minetest-dev |
20:45 |
|
proller joined #minetest-dev |
20:46 |
|
ManElevation joined #minetest-dev |
20:48 |
|
proller joined #minetest-dev |
20:59 |
Krock |
nerzhul: what kind of "updates on the server" do you mean? |
21:12 |
|
troller joined #minetest-dev |
21:13 |
|
proller joined #minetest-dev |
21:15 |
|
troller joined #minetest-dev |
21:21 |
|
troller joined #minetest-dev |
21:28 |
|
troller joined #minetest-dev |
21:36 |
Krock |
nerzhul: new toy #7569 |
21:36 |
ShadowBot |
https://github.com/minetest/minetest/issues/7569 -- Send custom floats (log2) by SmallJoker |
21:37 |
|
troller joined #minetest-dev |
21:39 |
|
troller joined #minetest-dev |
21:42 |
|
proller__ joined #minetest-dev |
21:53 |
|
Fixer_ joined #minetest-dev |
21:54 |
p_gimeno |
sorry for the dumb question, but what's wrong with just using F32? |
21:54 |
p_gimeno |
I mean, actual single-precision floats |
21:54 |
Krock |
as in memcpy? |
21:56 |
p_gimeno |
yes, or union integer and hton/ntoh |
21:56 |
Krock |
the memory representation is not defined, so it would be required to disassemble each feature of the float |
21:56 |
Krock |
and the bitop everything together again so that it's ensured to be the correct format |
21:56 |
Krock |
see also: https://github.com/minetest/minetest/pull/6312 |
21:59 |
Krock |
I cannot test whether all by Minetest supported architectures also will work with this idea - missing computers, time and motivation to get the stuff together |
22:00 |
p_gimeno |
you don't need floats to work the same in all architectures in order to transmit them through a network, and while the C++ standard does not specify floats to be IEEE-754 compliant, you can add a configure check and either refuse to compile, or have fallback code for IEEE conversion |
22:01 |
p_gimeno |
I'm pretty sure there must be simple functions with a usable license that convert float to IEEE and vice versa |
22:04 |
|
warr[m] joined #minetest-dev |
22:04 |
p_gimeno |
it seems you did a good job getting close to that, already |
22:06 |
Krock |
thanks. However, it's not perfect. Special numbers (nan/inf/-inf) and those close to the maximal float value aren't handled correctly |
22:09 |
p_gimeno |
special cases are trivial to handle: if (isnan(f)) return 0x7FC00000; if (isinf(f)) return 0x7F800000 | (f < 0) << 31; |
22:11 |
p_gimeno |
well, the other way around has the danger that the implementation aborts on division by zero instead of returning NaN/Inf, but I doubt that's a problem |
22:12 |
|
opal[m] joined #minetest-dev |
22:12 |
p_gimeno |
that's assuming you want to transmit these values through the network in the first place |
22:13 |
Krock |
yes. at least have the regular values correctly and as precise as possible transmit |
22:14 |
Krock |
will check logs |
22:17 |
p_gimeno |
a configure check (or even runtime) seems pretty trivial: https://stackoverflow.com/questions/5777484/how-to-check-if-c-compiler-uses-ieee-754-floating-point-standard |
22:34 |
p_gimeno |
here's one such IEEE conversion project: https://github.com/MalcolmMcLean/ieee754 |
22:35 |
p_gimeno |
unfortunately that one doesn't specify a license, guess you could bug the author in an issue to see if he would add one |
22:45 |
nerzhul |
Krock interesting PR |
22:51 |
|
Corvus_ joined #minetest-dev |
23:27 |
|
TC01 joined #minetest-dev |
23:28 |
|
proller__ joined #minetest-dev |
23:45 |
|
proller__ joined #minetest-dev |
23:51 |
|
Tmanyo joined #minetest-dev |