Bug 157388 - LibreLogo sqrt undefined
Summary: LibreLogo sqrt undefined
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
7.6.1.2 release
Hardware: All All
: medium normal
Assignee: Julien Nabet
URL:
Whiteboard: target:24.2.0 target:7.6.3
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 04:24 UTC by sandro.doro
Modified: 2023-09-26 08:20 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sandro.doro 2023-09-23 04:24:18 UTC
Description:
Using LibreLogo (LibreOffice writer) the math function sqrt in undefined

Steps to Reproduce:
1. write a simple code as: print sqrt 2
2. click run
3. the error is printed in a popup

Actual Results:
unknow name: sqrt

Expected Results:
1.4142


Reproducible: Always


User Profile Reset: No

Additional Info:
the program must calculate sqrt
Comment 1 Julien Nabet 2023-09-24 10:14:25 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this.
Comment 2 Julien Nabet 2023-09-24 10:15:31 UTC
I've submitted this on gerrit:
https://gerrit.libreoffice.org/c/core/+/157206
Comment 3 Commit Notification 2023-09-24 11:33:24 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/553e09879b1ed20f09224582ab904b6ab1646259

tdf#157388: LibreLogo sqrt undefined

It will be available in 24.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Julien Nabet 2023-09-24 11:33:50 UTC
Cherry-pick for 7.6 waiting for review here:
https://gerrit.libreoffice.org/c/core/+/157210
Comment 5 Commit Notification 2023-09-26 08:20:44 UTC
Julien Nabet committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/d3cc049575f32341044631def02f977176e142ac

tdf#157388: LibreLogo sqrt undefined

It will be available in 7.6.3.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.