I'm doing some graphing-type stuff
Then consider studying (for inspiration) the source code of GNUplot. It is free software.... Also look inside the source code of GraphViz. It is open source.
What is the Smallest Nonzero Number that I can Reliably Generate?
In theory, this could be compiler specific, or implementation specific.
The n1570 draft C standard mentions in §5.2.4.2.2 some DBL_EPSILON
macro....
I would suggest coding explicitly if (dy==0.0) return;
since on current computers that is really fast. Actually, a test like if (fabs(dy)<4.0*DBL_EPSILON) return;
could be better (but would run slower).
Regarding rounding errors in your C code (in practice), see the floating point guide and consider getting then using the Fluctuat tool or the CADNA tool or perhaps the ABSINT tool.
If you want to analyze rounding errors in binary executables contact my colleagues working on BinSec.
You could also use some arbitrary-precision arithmetic library like GMPlib.
Is there a significant chance that this number cannot be reliably replicated, perhaps due to, say, rounding error?
Probabilistic static analysis (at compile time) of floating point rounding errors are above the state of the art. Consider making your PhD thesis on that topic. Your PhD advisor could be Patrick Cousot in the USA or Eric Goubault or Sylvie Putot or maybe Emmanuel Haucourt in France. Or some colleagues (e.g. Franck Védrine) from the Frama-C team (near Paris, France). Look also into proceedings of ACM SIGPLAN conferences.
Perhaps in mid 2021 you might use RefPerSys or Bismon to analyze your C code (or maybe your Python code; then see also this) ? In that case, contact me by email.
Notice that floating point rounding errors did kill several dozens of people (and might explain some Boeing 737 MAX crashes). Fixed point overflows are related to Ariane 501 failure. So your future PhD (on static analysis of floating point errors) could be co-funded by Boeing, Airbus, NASA, ESA, Dassault, or CNES and probably defense (artillery is using computers since the 1940s), robotics (think of cobots in neurosurgery), or automotive industries (since autonomous vehicles are using floating point).
Read also the blog of the late Jacques Pitrat. It is relevant to your interests.
In 2021, an interesting application related to floating point is the simulation of the Covid-19 pandemic. So I would imagine that big hospitals could also co-fund your PhD (e.g. for a better estimate of the social distancing... In Europe the recommended distance is different in different countries).
Of course in the USA the NSF (and perhaps Google or Facebook) could also co-fund your PhD
(I guess that the US DoD could also co-fund it, since rounding errors in missiles or weapons did kill several US soldiers in the past).
PS. If you start your PhD on these topics, please email me. I am interested.