Re: Replacing keyword in RISC-V Fortran

2021-10-26 Thread Amit Hmath via Fortran
Thanks Arjen. Let me work on your comments. On Mon, Oct 25, 2021 at 12:53 PM Arjen Markus wrote: > I am not sure I understand your question correctly, but Fortran uses the > KIND mechanism to declare the precise characteristics of floating-point > variables and constants. Typically, these are

Re: Replacing keyword in RISC-V Fortran

2021-10-25 Thread Arjen Markus via Fortran
I am not sure I understand your question correctly, but Fortran uses the KIND mechanism to declare the precise characteristics of floating-point variables and constants. Typically, these are identifying integer numbers for single precision, double precision and quadruple precision. A custom floatin

Replacing keyword in RISC-V Fortran

2021-10-22 Thread Amit Hmath via Fortran
Hello All, I am working on a custom float in RISC-V 32, one can replace keyword "float" with custom keyword like "fp_custom" at line # 482 riscv-gcc/gcc/c-family/c-common.c. But in the case of Fortran, can you please tell which files to modify to replace the "float" keyword? And also, in case o