Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
5f115a4b
Commit
5f115a4b
authored
Apr 09, 2005
by
Steven G. Kargl
Committed by
Steven G. Kargl
Apr 09, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gfortran.dg/nint_1.f90: New test.
From-SVN: r97931
parent
8e1fa5d6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
0 deletions
+18
-0
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gfortran.dg/nint_1.f90
+14
-0
No files found.
gcc/testsuite/ChangeLog
View file @
5f115a4b
2005
--
4
-
09
Steven
G
.
Kargl
<
kargls
@comcast
.
net
>
*
gfortran
.
dg
/
nint_1
.
f90
:
New
test
.
2005
-
04
-
09
Thomas
Koenig
<
Thomas
.
Koenig
@online
.
de
>
2005
-
04
-
09
Thomas
Koenig
<
Thomas
.
Koenig
@online
.
de
>
*
gfortran
.
fortran
-
torture
/
execute
/
intrinsic_anyall
.
f90
:
*
gfortran
.
fortran
-
torture
/
execute
/
intrinsic_anyall
.
f90
:
...
...
gcc/testsuite/gfortran.dg/nint_1.f90
0 → 100644
View file @
5f115a4b
program
nint_1
if
(
int
(
anint
(
8388609.0
))
/
=
8388609
)
call
abort
if
(
int
(
anint
(
0.49999997
))
/
=
0
)
call
abort
if
(
nint
(
8388609.0
)
/
=
8388609
)
call
abort
if
(
nint
(
0.49999997
)
/
=
0
)
call
abort
if
(
int
(
dnint
(
4503599627370497.0d0
),
8
)
/
=
4503599627370497_8
)
call
abort
if
(
int
(
dnint
(
0.49999999999999994d0
))
/
=
0
)
call
abort
if
(
int
(
anint
(
-8388609.0
))
/
=
-8388609
)
call
abort
if
(
int
(
anint
(
-0.49999997
))
/
=
0
)
call
abort
if
(
nint
(
-8388609.0
)
/
=
-8388609
)
call
abort
if
(
nint
(
-0.49999997
)
/
=
0
)
call
abort
if
(
int
(
dnint
(
-4503599627370497.0d0
),
8
)
/
=
-4503599627370497_8
)
call
abort
if
(
int
(
dnint
(
-0.49999999999999994d0
))
/
=
0
)
call
abort
end
program
nint_1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment