By: Michael S (already5chosen.delete@this.yahoo.com), November 15, 2022 1:38 am
Room: Moderated Discussions
Matt Sayler (sayler.delete@this.thewalrus.org) on November 14, 2022 11:17 pm wrote:
> Michael S (already5chosen.delete@this.yahoo.com) on November 14, 2022 3:18 pm wrote:
> > Do Apple's development tools on Apple Silicon (ARM) Mac support IEEE binary128 floating point type?
> > I experimented with clang and clang++ on godbolt and it looks like under Linux it supports
> > IEEE binary128 FP (spelled as __float128 both in C and in C++) only on x86-64 targets.
> > But may be Apple's own version of clang is more advanced?
>
> Not on my Monterey M1Pro:
>
>
>
Thank you.
And what it says about alternative spellings:
For C++23
include stdfloat
std:::float128_t
For C (gcc, C2x): _Float128.
> Michael S (already5chosen.delete@this.yahoo.com) on November 14, 2022 3:18 pm wrote:
> > Do Apple's development tools on Apple Silicon (ARM) Mac support IEEE binary128 floating point type?
> > I experimented with clang and clang++ on godbolt and it looks like under Linux it supports
> > IEEE binary128 FP (spelled as __float128 both in C and in C++) only on x86-64 targets.
> > But may be Apple's own version of clang is more advanced?
>
> Not on my Monterey M1Pro:
>
>
> f128.c:3:2: error: __float128 is not supported on this target
>
> $ uname -a
> Darwin chonky.local 21.6.0 Darwin Kernel Version 21.6.0: Mon Aug 22
> 20:19:52 PDT 2022; root:xnu-8020.140.49~2/RELEASE_ARM64_T6000 arm64
>
>
Thank you.
And what it says about alternative spellings:
For C++23
include stdfloat
std:::float128_t
For C (gcc, C2x): _Float128.
Topic | Posted By | Date |
---|---|---|
IEEE binary128 support on ARM Macs ? | Michael S | 2022/11/14 04:18 PM |
IEEE binary128 support on ARM Macs ? | Matt Sayler | 2022/11/15 12:17 AM |
IEEE binary128 support on ARM Macs ? | Michael S | 2022/11/15 01:38 AM |
IEEE binary128 support on ARM Macs ? | Matt Sayler | 2022/11/15 07:56 AM |