Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
847
Posts in
273
Topics by
2533
Members - Latest Member:
pabloosbor
September 10, 2010, 06:03:10 PM
Absoft User Forum
|
Support
|
Windows
|
Floating Point Math Control
« previous
next »
Pages:
[
1
]
Author
Topic: Floating Point Math Control (Read 813 times)
liofin
Newbie
Posts: 3
Floating Point Math Control
«
on:
February 28, 2010, 01:43:19 PM »
To enable this control fenv.inc file shall be included. Alas, I was unable to find it. I have Absoft ProFortran v10.1. Please advice.
Logged
Mike Linacre
Full Member
Posts: 183
Re: Floating Point Math Control
«
Reply #1 on:
February 28, 2010, 04:12:00 PM »
liofin, please see the Absoft FAQ. For instance,
http://www.absoft.com/Support/FAQ/linux90tfaq.html
- it shows the contents of fenv.inc
Logged
liofin
Newbie
Posts: 3
Re: Floating Point Math Control
«
Reply #2 on:
March 01, 2010, 02:39:35 PM »
I am sorry for not being quite clear.
I am trying to add a code by following example in a user's manual to get current state:
include "fenv.inc"
int state
call fpcontrol (0, state )
This code does not compile because it does not find fenv.inc, and it does not recognize fpcontrol as a valid function. I assume that fenv.inc has fpcontrol prototype, and, probably, a library with fpcontrol code shall be linked.
Please advice.
Logged
Mike Linacre
Full Member
Posts: 183
Re: Floating Point Math Control
«
Reply #3 on:
March 01, 2010, 05:58:15 PM »
liofin, did you read that FAQ? Combine that answer with some Google searching and you can code everything yourself.
Logged
liofin
Newbie
Posts: 3
Re: Floating Point Math Control
«
Reply #4 on:
March 01, 2010, 06:53:49 PM »
Thank you for your advice but I did not find source code for fpcontrol anywhere on Google. Otherwise I would definitely follow your advice. Maybe somebody knows where to find it? I would appreciate.
Logged
Pages:
[
1
]
Jump to:
Please select a destination:
-----------------------------
Support
-----------------------------
=> Building and Using Additional Software & Libraries
=> General
=> Linux
=> Macintosh
=> Windows
Powered by SMF 1.1.11
|
SMF © 2006-2009, Simple Machines LLC
Helios Multi
design by
Bloc
Loading...