And the sad fact of the matter is that computational photography on phones, especially when it comes to HDR, makes it absolutely no hassle to obtain exceptionally good HDR captures 80+% of the time. I've literally taken back to back comparison shots of my son on a bright sunny day on a boat when on the ocean and my smartphone picture (S9+) was far superior to my DSLR image, even after trying to capture details from highlights/shadows in postprocessing.
Phones these days can perform a lot of neat tricks to reduce noise, capture large dynamic ranges and compress it all into a pleasing HDR image in fractions of seconds that lets you achieve great HDR images even with moving subjects (something notoriously hard with a DSLR).
Not that DSLRs don't have a whole host of other advantages when it comes to image quality and depth-of-focus, etc, but HDR is not one of them. It is almost the sole reason why I've been reaching for my DSLR less and less when on vacation.
Together with the phone always being in my pocket, while a DSLR is bulky, I've gone completely with the phone. I just wish the computational photography developers and the camera engineers would come together and make something that uses the far superior hardware of the DSLR combined with the far superior software originally designed for phones.
Capture RAW+JPEG of a scene with dark shadows and bright highlights, the camera clearly isn't using a linear transfer function to get from RAW to JPEG. With something like a D7200 you can literally have the sun in your picture and still get both detail in the sunstar and the clouds, while also having detail in the sun's shade, with an out-of-camera JPEG.
To simplify I'll pick a grayscale image so with 8bits you would only have 0-255 as pixel values for the intensity.
With 12 bits you'll have 4096, and so forth.
What cellphone HDR usually does is take the image at a high exposure and a low exposure and combine the result. (Also the sensors inside the cellphone are also more than 8bit)
Even if you take a 12 bit photo if it's overexposed you can't do much. All you get is more play but it doesn't solve the fundamental problem of too much light hitting the sensor, or vice versa if the image is underexposed.
Now there are more advanced camera sensors that let you set the exposure time (or usually the ISO (which just translates to gain) at specific horizontal points of the sensor so that you can get even better images in one frame.
This is correct, they seem to be mistaken. I've seen this mistake many times in this thread. I wrote a comment in reply to one of them explaining in some detail what the point of higher bit depths and "HDR" (as a set of technology standards) is: https://news.ycombinator.com/item?id=24044818
I'm aware of the difference between bracketed HDR and what these cameras do, but that's besides the point. If you capture RAW+JPEG it's pretty obvious that the camera is not using a flat curve, but that it is quite clearly doing something similar to tone mapping around highlights and shadows, and it's not fixed either, but slightly different for each shot.