Date: Mon, 14 Jan 2019 15:08:44 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 229501] [libm] Reduce diff between src/e_j0.c and src/e_j0f.c Message-ID: <bug-229501-227-8cdLkWymwZ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-229501-227@https.bugs.freebsd.org/bugzilla/> References: <bug-229501-227@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229501 Pedro F. Giffuni <pfg@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #200917|0 |1 is obsolete| | --- Comment #3 from Pedro F. Giffuni <pfg@FreeBSD.org> --- Comment on attachment 200917 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D200917 Use literal constants According to bde@: It's silly to use 0.0 for float in some contexts when the main point of the patch is to use integer constants that will be converted to float instead of explicit float constants. 0.0 isn't even a float constant, but is converted to one before assignment to a float variable. Also, static initialization to any type of 0 is redundant. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-229501-227-8cdLkWymwZ>