In the most upvoted answer to the question Double precision floating values in Python? it is mentioned that we can use np.float128, if we need precision more than standard float. But I couldn't find a way to do this.
Then, in the most upvoted answer to how to declare variable type, C style in python, use of typing is suggested.
However, when I tried to use typing to set the datatype as float for a integer type value, Python still used an int data type.
n : float=10000
print(type(n))
But still, the result is :
<class 'int'>
So, How can I define np.float128 type variable in python?