Soma was presumed to be a planet in Hindu astronomical texts.[24] It is often discussed in various Sanskrit astronomical texts, such as the 5th century Aryabhatiya by Aryabhatta, the 6th century Romaka by Latadeva and Panca Siddhantika by Varahamihira, the 7th century Khandakhadyaka by Brahmagupta and the 8th century Sisyadhivrddida by Lalla.[25] Other texts such as Surya Siddhanta dated to have been complete sometime between the 5th century and 10th century present their chapters on various planets with deity mythologies.[25] However, they show that the Hindu scholars were aware of elliptical orbits, and the texts include sophisticated formulae to calculate its past and future positions:[26]