Robin Williams’ body was cremated the day after he died … and his ashes were scattered in San Francisco Bay … this according to the official death certificate.

The document — issued in Marin County where he died — does not list an immediate cause of death … instead it merely says, “pending investigation.”

The coroner is still waiting for the results of toxicology tests … to see if Williams had any chemicals in his body when he died. Those results will be available in the next few weeks.

That must have been the peaceful ending he would have liked.

In other news, Billy Crystal will be presenting a special tribute to Williams at this year’s Emmy Awards, which will take place next month. The pair had been friends for decades, so no doubt it will be a fitting memorial.