Re: gfortran fp16

2022-05-17 Thread James Cloos via Fortran
> "TB" == Tobias Burnus writes: TB> DEF_C99_BUILTIN(BUILT_IN_ACOSHF, "acoshf", BT_FN_FLOAT_FLOAT, ATTR_MATHFN_FPROUNDING_ERRNO) those are more likely trigh_f than trig_hf. ie hyperbolic. -JimC -- James Cloos OpenPGP: 0x997A9F17ED7DAEA6

Re: gfortran fp16

2022-05-17 Thread Tobias Burnus
On 17.05.22 12:09, Thomas König wrote: be might complement to the QP support for POWER in gcc 12, and I have actually thought about doing. The library has its gotchas, though - I do not suppose we can count on fp16 support for trigonometrics and similar, for example, I think that mostly depen

Re: gfortran fp16

2022-05-17 Thread Thomas König
Hi, be might complement to the QP support for POWER in gcc 12, and I have actually thought about doing. The library has its gotchas, though - I do not suppose we can count on fp16 support for trigonometrics and similar, for example, so we would probably have to use fp32 and convert (or imlement

Re: Fwd: gfortran fp16

2022-05-16 Thread Tobias Burnus
On 16.05.22 09:51, Toon Moene wrote: Interesting question. We don't do that yet, as far as I know. Forwarded Message From: 陈刚 I want to use fp16 in fortran, does gfortran support the fp16? I think adding fp16 to the compiler itself is not that difficult – it is "just" handli

Fwd: gfortran fp16

2022-05-16 Thread Toon Moene
Interesting question. We don't do that yet, as far as I know. Forwarded Message Subject: gfortran fp16 Date: Mon, 16 May 2022 13:24:22 +0800 (GMT+08:00) From: 陈刚 To: gcc-h...@gcc.gnu.org Dear experts, I want to use fp16 in fortran, does gfortran support the fp16?