Home
last modified time | relevance | path

Searched refs:disc (Results 1 – 1 of 1) sorted by relevance

/zscilib-3.4.0/src/physics/
Dprojectiles.c26 zsl_real_t disc = viv * viv + 2.0 * ZSL_GRAV_EARTH * (yi - yf); in zsl_phy_proj_time() local
28 if (disc < 0) { in zsl_phy_proj_time()
33 *t = (viv + ZSL_SQRT(disc)) / ZSL_GRAV_EARTH; in zsl_phy_proj_time()
41 zsl_real_t disc = viv * viv + 2.0 * ZSL_GRAV_EARTH * (yi - yf); in zsl_phy_proj_time_first() local
43 if (disc < 0) { in zsl_phy_proj_time_first()
48 *t = (viv - ZSL_SQRT(disc)) / ZSL_GRAV_EARTH; in zsl_phy_proj_time_first()