Re: toascii() function missing
Markus Mützel <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <trinity-29a0024d-f0c0-4612-bb2c-319e6c20238e-1616499013828@3c-app-gmx-bap12> |
Am 23. März 2021 um 10:15 Uhr schrieb "Markus Mützel": > Am 23. März 2021 um 10:05 Uhr schrieb "Jorge Gustavo Rocha": > > Thank you Nicholas, > > > > I was looking in the wrong place. Thank you for the pointer. > > > > As a personal interpretation, I wouldn't suggest double() as a > > replacement of toascii(). Character codes aren't double values. I would > > prefer int8() or int16(). > > > > Regards, > > > > Gustavo > > The function "toascii" returned double values. Replacing it with the functions you suggested might lead to different results. Replacing it with "double" assures that the result of subsequent calculations remains the same. > > Markus Forgot to CC the mailing list.