soccer jersey forums.silverfrost.com :: View topic - Bug: 32 bit, printing hypot(x,y) where arguments are real*8
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Bug: 32 bit, printing hypot(x,y) where arguments are real*8

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
Kenneth_Smith



Joined: 18 May 2012
Posts: 709
Location: Hamilton, Lanarkshire, Scotland.

PostPosted: Sat Jul 08, 2023 2:20 am    Post subject: Bug: 32 bit, printing hypot(x,y) where arguments are real*8 Reply with quote

The following code run as expected when compiled with the 64 bit compiler.

With the 32 bit compiler, an access violation occurs when printing hypot(x2,y2).

Code:
program test
implicit none
real   x1, y1, z1
real*8 x2, y2, z2
  x1 = 3.0
  y1 = 4.0
  z1 = hypot(x1,y1)
  print*, x1, y1, z1
  print*, x1, y1, hypot(x1,y1)
  x2 = 3.d0
  y2 = 4.d0
  z2 = hypot(x2,y2)
  print*, x2, y2, z2
  print*, x2, y2, hypot(x2,y2)   !Problem occurs here with 32 bit compiler
end program test
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8011
Location: Salford, UK

PostPosted: Sat Jul 08, 2023 7:43 am    Post subject: Reply with quote

Ken

Thank you for the bug report which I have now logged for investigation.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 8011
Location: Salford, UK

PostPosted: Wed Nov 15, 2023 9:01 am    Post subject: Reply with quote

This bug has now been fixed for the next release of FTN95 and salflibc.dll (after v9.0).
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group