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
28c64ec8
Commit
28c64ec8
authored
Feb 24, 2010
by
Rainer Orth
Committed by
Rainer Orth
Feb 24, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.
From-SVN: r157048
parent
9da60d2a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
libgfortran/ChangeLog
+4
-0
libgfortran/io/write_float.def
+2
-2
No files found.
libgfortran/ChangeLog
View file @
28c64ec8
2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* io/write_float.def (WRITE_FLOAT): Use __builtin_signbit.
2010-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
2010-02-22 Jerry DeLisle <jvdelisle@gcc.gnu.org>
* io/list_read.c (list_formatted_read_scalar): Remove duplicate code.
* io/list_read.c (list_formatted_read_scalar): Remove duplicate code.
...
...
libgfortran/io/write_float.def
View file @
28c64ec8
/* Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
/* Copyright (C) 2007, 2008, 2009
, 2010
Free Software Foundation, Inc.
Contributed by Andy Vaught
Contributed by Andy Vaught
Write float code factoring to this file by Jerry DeLisle
Write float code factoring to this file by Jerry DeLisle
F2003 I/O support contributed by Jerry DeLisle
F2003 I/O support contributed by Jerry DeLisle
...
@@ -818,7 +818,7 @@ sprintf (buffer, "%+-#" STR(MIN_FIELD_WIDTH) ".*" \
...
@@ -818,7 +818,7 @@ sprintf (buffer, "%+-#" STR(MIN_FIELD_WIDTH) ".*" \
{\
{\
GFC_REAL_ ## x tmp;\
GFC_REAL_ ## x tmp;\
tmp = * (GFC_REAL_ ## x *)source;\
tmp = * (GFC_REAL_ ## x *)source;\
sign_bit = signbit (tmp);\
sign_bit =
__builtin_
signbit (tmp);\
if (!isfinite (tmp))\
if (!isfinite (tmp))\
{ \
{ \
write_infnan (dtp, f, isnan (tmp), sign_bit);\
write_infnan (dtp, f, isnan (tmp), sign_bit);\
...
...
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