[ET Trac] #2686: Rename CCTK_REAL -> double when float is not tested

Zach Etienne trac-noreply at einsteintoolkit.org
Wed Jan 25 09:39:26 CST 2023


#2686: Rename CCTK_REAL -> double when float is not tested

 Reporter: Zach Etienne
   Status: new
Milestone: 
  Version: 
     Type: enhancement
 Priority: minor
Component: 

Here's an idea: Virtually no thorns have been tested with CCTK\_REAL -> float \(single precision\), and in fact many are _guaranteed_ to break. How about for all thorns that have no unit tests in which CCTK\_REAL -> float, we do a regex replace CCTK\_REAL -> double?

Bottom line: If CCTK\_REAL looks like a double, swims like a double, and quacks like a double, let's call it a double.

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2686/rename-cctk_real-double-when-float-is-not
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20230125/4457ec46/attachment.html 


More information about the Trac mailing list