Re: “doesn’t make difference but I guess that in other cases it does” - which other context? Unless you are working with a processor does not conform even to Fortran 90 standard revision (from >30 years ago), the use of the generic intrinsics such as LOG
is strongly recommended.
Starting with Fortran 2018 from over six years ago, the standard also says: