[XLA] Add tests for log and log1p boundary cases.
[XLA] Add tests for log and log1p boundary cases.

Check that these functions behave correctly in some boundary cases.

PiperOrigin-RevId: 230809579

freedomtan/tensorflow,kevin-coder/tensorflow-fork,DavidNorman/tensorflow,cxxgtxy/tensorflow,aam-at/tensorflow,aldian/tensorflow,aam-at/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,ppwwyyxx/tensorflow,yongtang/tensorflow,jhseu/tensorflow,paolodedios/tensorflow,kevin-coder/tensorflow-fork,jendap/tensorflow,gautam1858/tensorflow,jhseu/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow,annarev/tensorflow,yongtang/tensorflow,ageron/tensorflow,arborh/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,yongtang/tensorflow,theflofly/tensorflow,tensorflow/tensorflow-pywrap_saved_model,tensorflow/tensorflow-pywrap_saved_model,kevin-coder/tensorflow-fork,renyi533/tensorflow,ghchinoy/tensorflow,freedomtan/tensorflow,arborh/tensorflow,alsrgv/tensorflow,jbedorf/tensorflow,arborh/tensorflow,Intel-Corporation/tensorflow,aam-at/tensorflow,aldian/tensorflow,karllessard/tensorflow,renyi533/tensorflow,aam-at/tensorflow,gunan/tensorflow,karllessard/tensorflow,theflofly/tensorflow,petewarden/tensorflow,theflofly/tensorflow,adit-chandra/tensorflow,xzturn/tensorflow,cxxgtxy/tensorflow,annarev/tensorflow,paolodedios/tensorflow,alsrgv/tensorflow,yongtang/tensorflow,jendap/tensorflow,sarvex/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,Intel-tensorflow/tensorflow,Intel-tensorflow/tensorflow,arborh/tensorflow,freedomtan/tensorflow,ageron/tensorflow,ghchinoy/tensorflow,xzturn/tensorflow,DavidNorman/tensorflow,Intel-Corporation/tensorflow,theflofly/tensorflow,petewarden/tensorflow,gautam1858/tensorflow,Intel-Corporation/tensorflow,jbedorf/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,renyi533/tensorflow,cxxgtxy/tensorflow,karllessard/tensorflow,adit-chandra/tensorflow,ppwwyyxx/tensorflow,karllessard/tensorflow,petewarden/tensorflow,aldian/tensorflow,jendap/tensorflow,ppwwyyxx/tensorflow,gunan/tensorflow,ppwwyyxx/tensorflow,arborh/tensorflow,adit-chandra/tensorflow,ghchinoy/tensorflow,chemelnucfin/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,tensorflow/tensorflow,theflofly/tensorflow,karllessard/tensorflow,jbedorf/tensorflow,ghchinoy/tensorflow,ageron/tensorflow,Intel-tensorflow/tensorflow,Intel-Corporation/tensorflow,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,kevin-coder/tensorflow-fork,yongtang/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,chemelnucfin/tensorflow,Intel-Corporation/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,arborh/tensorflow,frreiss/tensorflow-fred,aldian/tensorflow,theflofly/tensorflow,davidzchen/tensorflow,Intel-tensorflow/tensorflow,chemelnucfin/tensorflow,theflofly/tensorflow,paolodedios/tensorflow,gautam1858/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,gunan/tensorflow,cxxgtxy/tensorflow,xzturn/tensorflow,annarev/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,xzturn/tensorflow,jbedorf/tensorflow,gunan/tensorflow,alsrgv/tensorflow,alsrgv/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_saved_model,aldian/tensorflow,jendap/tensorflow,Intel-tensorflow/tensorflow,theflofly/tensorflow,frreiss/tensorflow-fred,renyi533/tensorflow,cxxgtxy/tensorflow,kevin-coder/tensorflow-fork,davidzchen/tensorflow,petewarden/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,sarvex/tensorflow,adit-chandra/tensorflow,ageron/tensorflow,adit-chandra/tensorflow,adit-chandra/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow,freedomtan/tensorflow,kevin-coder/tensorflow-fork,petewarden/tensorflow,Intel-tensorflow/tensorflow,annarev/tensorflow,tensorflow/tensorflow,davidzchen/tensorflow,paolodedios/tensorflow,renyi533/tensorflow,xzturn/tensorflow,Intel-tensorflow/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,cxxgtxy/tensorflow,Intel-tensorflow/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,chemelnucfin/tensorflow,jbedorf/tensorflow,petewarden/tensorflow,xzturn/tensorflow,jhseu/tensorflow,davidzchen/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,davidzchen/tensorflow,arborh/tensorflow,theflofly/tensorflow,gunan/tensorflow,jendap/tensorflow,jhseu/tensorflow,xzturn/tensorflow,Intel-Corporation/tensorflow,sarvex/tensorflow,jhseu/tensorflow,DavidNorman/tensorflow,yongtang/tensorflow,tensorflow/tensorflow-pywrap_saved_model,jhseu/tensorflow,annarev/tensorflow,yongtang/tensorflow,aam-at/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,DavidNorman/tensorflow,tensorflow/tensorflow-pywrap_saved_model,chemelnucfin/tensorflow,arborh/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,freedomtan/tensorflow,arborh/tensorflow,jhseu/tensorflow,cxxgtxy/tensorflow,tensorflow/tensorflow-pywrap_saved_model,DavidNorman/tensorflow,theflofly/tensorflow,Intel-tensorflow/tensorflow,theflofly/tensorflow,DavidNorman/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,chemelnucfin/tensorflow,alsrgv/tensorflow,davidzchen/tensorflow,adit-chandra/tensorflow,jendap/tensorflow,aam-at/tensorflow,gunan/tensorflow,jendap/tensorflow,ghchinoy/tensorflow,gunan/tensorflow,arborh/tensorflow,ppwwyyxx/tensorflow,paolodedios/tensorflow,sarvex/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,annarev/tensorflow,gunan/tensorflow,ghchinoy/tensorflow,tensorflow/tensorflow,frreiss/tensorflow-fred,xzturn/tensorflow,chemelnucfin/tensorflow,alsrgv/tensorflow,sarvex/tensorflow,jbedorf/tensorflow,xzturn/tensorflow,jhseu/tensorflow,jbedorf/tensorflow,kevin-coder/tensorflow-fork,tensorflow/tensorflow-pywrap_saved_model,frreiss/tensorflow-fred,sarvex/tensorflow,freedomtan/tensorflow,freedomtan/tensorflow,adit-chandra/tensorflow,aldian/tensorflow,ageron/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,gautam1858/tensorflow,aam-at/tensorflow,DavidNorman/tensorflow,alsrgv/tensorflow,ageron/tensorflow,tensorflow/tensorflow,yongtang/tensorflow,yongtang/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,karllessard/tensorflow,gautam1858/tensorflow,renyi533/tensorflow,karllessard/tensorflow,davidzchen/tensorflow,aam-at/tensorflow,gautam1858/tensorflow,petewarden/tensorflow,chemelnucfin/tensorflow,alsrgv/tensorflow,gautam1858/tensorflow,ghchinoy/tensorflow,ppwwyyxx/tensorflow,aam-at/tensorflow,adit-chandra/tensorflow,petewarden/tensorflow,jhseu/tensorflow,theflofly/tensorflow,ppwwyyxx/tensorflow,jhseu/tensorflow,kevin-coder/tensorflow-fork,arborh/tensorflow,ageron/tensorflow,jendap/tensorflow,jhseu/tensorflow,adit-chandra/tensorflow,freedomtan/tensorflow,DavidNorman/tensorflow,ageron/tensorflow,petewarden/tensorflow,gunan/tensorflow,gautam1858/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,gautam1858/tensorflow,kevin-coder/tensorflow-fork,aldian/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,renyi533/tensorflow,renyi533/tensorflow,ageron/tensorflow,davidzchen/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,gunan/tensorflow,petewarden/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,annarev/tensorflow,ghchinoy/tensorflow,Intel-Corporation/tensorflow,gautam1858/tensorflow,paolodedios/tensorflow,jbedorf/tensorflow,kevin-coder/tensorflow-fork,xzturn/tensorflow,kevin-coder/tensorflow-fork,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-experimental_link_static_libraries_once,paolodedios/tensorflow,jbedorf/tensorflow,gunan/tensorflow,sarvex/tensorflow,davidzchen/tensorflow,frreiss/tensorflow-fred,paolodedios/tensorflow,adit-chandra/tensorflow,frreiss/tensorflow-fred,karllessard/tensorflow,xzturn/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,ppwwyyxx/tensorflow,karllessard/tensorflow,arborh/tensorflow,yongtang/tensorflow,petewarden/tensorflow,freedomtan/tensorflow,chemelnucfin/tensorflow,xzturn/tensorflow,jendap/tensorflow,renyi533/tensorflow,annarev/tensorflow,tensorflow/tensorflow,ghchinoy/tensorflow,petewarden/tensorflow,chemelnucfin/tensorflow,jbedorf/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow,ppwwyyxx/tensorflow,tensorflow/tensorflow-pywrap_tf_optimizer,ppwwyyxx/tensorflow,ghchinoy/tensorflow,jbedorf/tensorflow,tensorflow/tensorflow,Intel-Corporation/tensorflow,paolodedios/tensorflow,yongtang/tensorflow,frreiss/tensorflow-fred,tensorflow/tensorflow-experimental_link_static_libraries_once,aam-at/tensorflow,alsrgv/tensorflow,frreiss/tensorflow-fred,aam-at/tensorflow,sarvex/tensorflow,cxxgtxy/tensorflow,davidzchen/tensorflow,ageron/tensorflow,DavidNorman/tensorflow,DavidNorman/tensorflow,paolodedios/tensorflow,chemelnucfin/tensorflow,ageron/tensorflow,tensorflow/tensorflow-experimental_link_static_libraries_once,tensorflow/tensorflow-pywrap_saved_model,alsrgv/tensorflow,tensorflow/tensorflow-pywrap_saved_model,ageron/tensorflow,aldian/tensorflow,jhseu/tensorflow