<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<br>
<blockquote type="cite"
cite="mid:CACmBxyuB3FC02aKvBytbkbQCCoN+gXnDqiXkm5KMjw_1iYb_OQ@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>1) For folks compiling with C++23*, can they use <a
href="https://en.cppreference.com/w/cpp/types/floating-point"
moz-do-not-send="true">std::float16_t</a>? Sadly, that's not
me yet as my environment is C++20.</div>
</div>
</blockquote>
Letting Erik to comment on this (and also underlying that I'm very
satisfied with the quality of the big amount work he has put on
this. Ading a new base data type to GDAL is not for faint hearted) .
Although I presume that it should just be a matter of typedef'ing
std::float16_t as GFloat16, or making GFloat16 a thin wrapper of
std::float16_t.<br>
<blockquote type="cite"
cite="mid:CACmBxyuB3FC02aKvBytbkbQCCoN+gXnDqiXkm5KMjw_1iYb_OQ@mail.gmail.com">
<div dir="ltr">
<div><br>
</div>
<div>2) For when C++23 is the minimum language version for GDAL,
what is the plan?</div>
</div>
</blockquote>
<p>Clearly not for tomorrow, seeing that a vast majority of items
are red for MSVC. Assuming they don't drag their feet too much,
I'd say 5+ years probably. But I'm quite puzzled to see in front
of the "Requirements for optional <a
href="https://en.cppreference.com/w/cpp/types/floating-point"
title="cpp/types/floating-point">extended floating-point types</a>"
item, which covers std::float16_t that MSVC mentions "N/A" ...
Does that mean they don't plan at all to implement that part ?
Found an inconclusive post at
<a class="moz-txt-link-freetext" href="https://developercommunity.visualstudio.com/t/Implement-the-C23-Extended-Precision-P/10374212">https://developercommunity.visualstudio.com/t/Implement-the-C23-Extended-Precision-P/10374212</a></p>
<br>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.
Butcher of all kinds of standards, open or closed formats. At the end, this is just about bytes.</pre>
</body>
</html>