Quantifying extreme temperatures from the perspective of an organism