Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
a2ac
a2ac-myround.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File a2ac-myround.patch of Package a2ac
Index: a2ac.c =================================================================== --- a2ac.c.orig +++ a2ac.c @@ -137,7 +137,7 @@ void printline () /* prints the line wi return; } -int round (f) /* the round function */ +int myround (f) /* the round function */ /*-----------*/ double f; { @@ -530,11 +530,11 @@ int number(c) /* evaluates the number i ind += i; c[i] = save; - if (!isalpha (c[i])) return round (f); + if (!isalpha (c[i])) return myround (f); if ((c[i]=='b'||c[i]=='w'||c[i]=='h'||c[i]=='W'||c[i]=='k') && c[i+1] == '(') - return round (f * valF(&c[i])) ; - return round (f * valvar(&c[i])) ; + return myround (f * valF(&c[i])) ; + return myround (f * valvar(&c[i])) ; } int eval (c) /* evaluates the simple expressinon */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor