The first condition should be x < 0 (I mean d value),
The x (d) value in the formula should be used instead of the ascendant value found in the first condition.
const b = sinFromDegrees(obliquityEcliptic) * tanFromDegrees(latitude)const c = cosFromDegrees(obliquityEcliptic) * sinFromDegrees(localSiderealTime)const d = b + c
Line if (d < 0) { ...
So, I've tried a lot and it's true that way (of course it still needs verification)
https://github.com/0xStarcat/CircularNatalHoroscopeJS/blob/c65e40d9b901b1143ca14af831e05de9ae004835/src/utilities/astronomy.js#L112
The first condition should be x < 0 (I mean d value), The x (d) value in the formula should be used instead of the ascendant value found in the first condition.
const b = sinFromDegrees(obliquityEcliptic) * tanFromDegrees(latitude)
const c = cosFromDegrees(obliquityEcliptic) * sinFromDegrees(localSiderealTime)
const d = b + c
Line
if (d < 0) { ...
So, I've tried a lot and it's true that way (of course it still needs verification)
thanks a lot Onur