# Does a Fortran equivalent to cppreference exist?

**URL:** <https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648>\
**Category:** Help\
**Created:** [January 25, 2022, 2:56am UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648 "2022-01-25T02:56:04Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![R\_cubed](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/r_cubed/32/263_2.png) [@R\_cubed](https://fortran-lang.discourse.group/u/R_cubed)\
**Post date:** [January 25, 2022, 2:56am UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648/1 "2022-01-25T02:56:04Z")

</div>

I’m doing a project in C at the moment (which will be useful to Fortran eventually). I’m finding this site extraordinarily helpful: [C/C++ Reference](https://en.cppreference.com/w/).

I’m sure most are aware of it. It is a hypertext dictionary of available functions and important language concepts organized by year of revision.

Is there any way to produce something similar for Fortran, even if it only goes back to 1990?

---

<div class="post-metadata">

**Author:** ![Beliavsky](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@Beliavsky](https://fortran-lang.discourse.group/u/Beliavsky)\
**Post date:** [January 25, 2022, 3:20am UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648/2 "2022-01-25T03:20:21Z")

</div>

The format is different, but two resources are

[gfortran manual](https://gcc.gnu.org/onlinedocs/gfortran/index.html#Top)

[man(3) pages for Fortran Intrinsics](https://urbanjost.github.io/M_intrinsics/index3.html)

Both list the standard in which an intrinsic procedure was introduced.

---

<div class="post-metadata">

**Author:** ![fortran4r](https://avatars.discourse-cdn.com/v4/letter/f/9de0a6/32.png) [@fortran4r](https://fortran-lang.discourse.group/u/fortran4r)\
**Post date:** [January 25, 2022, 7:51am UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648/3 "2022-01-25T07:51:13Z")

</div>

The GFortran intrinsic procedure docs are not up to date. They still use the d suffix for double-precision procedures, which are obsolete. This could be misleading because I saw people using these suffixes on stack overflow questions.  
[ACOS (The GNU Fortran Compiler)](https://gcc.gnu.org/onlinedocs/gfortran/ACOS.html#ACOS)

---

<div class="post-metadata">

**Author:** ![ivanpribec](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/ivanpribec/32/3290_2.png) [@ivanpribec](https://fortran-lang.discourse.group/u/ivanpribec)\
**Post date:** [January 25, 2022, 9:34am UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648/4 "2022-01-25T09:34:30Z")

</div>

I don’t see anything wrong with the gfortran documentation. The page for `ACOSD` states clearly _“This function is for compatibility only and should be avoided in favor of standard constructs wherever possible.”_

Under the “standard” section, it’s also marked as a GNU extension.

---

<div class="post-metadata">

**Author:** ![R\_cubed](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/r_cubed/32/263_2.png) [@R\_cubed](https://fortran-lang.discourse.group/u/R_cubed)\
**Post date:** [January 25, 2022, 4:12pm UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648/5 "2022-01-25T16:12:18Z")

</div>

Considering Fortran has multiple compilers, it would be attractive to have the reference materials agnostic to specific implementations.

Would it be possible to develop something similar from the publicly available references?

---

<div class="post-metadata">

**Author:** ![certik](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/certik/32/4_2.png) [@certik](https://fortran-lang.discourse.group/u/certik)\
**Post date:** [January 25, 2022, 4:30pm UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648/6 "2022-01-25T16:30:15Z")

</div>

Yes, see this PR: [Fortran Intrinsics by urbanjost · Pull Request #347 · fortran-lang/fortran-lang.org · GitHub](https://github.com/fortran-lang/fortran-lang.org/pull/347), we need help with finishing it and merging it and maintaining it as a community.

@R_cubed, @fortran4r: would you have some time to help? If so, that would be very appreciated; we can brainstorm how to best move forward.

---

<div class="post-metadata">

**Author:** ![R\_cubed](https://yyz2.discourse-cdn.com/free1/user_avatar/fortran-lang.discourse.group/r_cubed/32/263_2.png) [@R\_cubed](https://fortran-lang.discourse.group/u/R_cubed)\
**Post date:** [January 25, 2022, 4:41pm UTC](https://fortran-lang.discourse.group/t/does-a-fortran-equivalent-to-cppreference-exist/2648/7 "2022-01-25T16:41:40Z")

</div>

@certik: I’m planning on it. I don’t want to discuss too much now, but I’m working on:

1. Being able to use javascript/node.js visualization libraries (D3, Vega, Vega-Lite) with Fortran, C, or C++.

2. Fortran bindings for C-based stats/modelling package based upon Gnu Scientific Library.

I’ll be posting when I have an MVP ready.
