Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15-SP1
gle
gle-3.1.0-fltmax.diff
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gle-3.1.0-fltmax.diff of Package gle
--- examples/texture.c +++ examples/texture.c @@ -12,6 +12,7 @@ */ #include <math.h> +#include <float.h> #include <stdio.h> #include <stdlib.h> #include "texture.h" @@ -217,11 +218,11 @@ niter ++; printf ("diffusion-reaction iteration %d \n", niter); - cpmax = -1.0e50; - cpmin = +1.0e50; + cpmax = -FLT_MAX; + cpmin = +FLT_MAX; - cmmax = -1.0e50; - cmmin = +1.0e50; + cmmax = -FLT_MAX; + cmmin = +FLT_MAX; if (reset) { niter = 0;
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