Hi
(For further discussion)
This is the list of source locations where my new fpcomparison clang plugin detects the use of ==
or != on floating
point values.
Summary: only 252 source lines, which is less than I thought we'd have.
Regards, Noel Grandin
basegfx/source/color/bcolortools.cxx:120:17
basegfx/source/color/bcolortools.cxx:124:22
basegfx/source/color/bcolortools.cxx:46:17
basegfx/source/color/bcolortools.cxx:48:22
basegfx/source/polygon/b2dlinegeometry.cxx:718:24
basegfx/source/polygon/b2dpolygontools.cxx:1591:16
basegfx/source/polygon/b2dpolygontools.cxx:1591:37
basegfx/source/polygon/b2dpolygontools.cxx:1613:21
basegfx/source/polygon/b2dpolygontools.cxx:1613:41
basegfx/source/polygon/b2dpolygontools.cxx:1630:20
basegfx/source/polygon/b2dpolygontools.cxx:1676:20
basegfx/source/polygon/b2dpolygontools.cxx:1676:40
basegfx/source/polygon/b2dpolygontools.cxx:203:32
basegfx/source/polygon/b2dpolygontools.cxx:2238:24
basegfx/source/polygon/b2dpolygontools.cxx:2469:24
basegfx/source/polygon/b2dpolygontools.cxx:2487:20
basegfx/source/polygon/b2dpolygontools.cxx:2534:31
basegfx/source/polygon/b2dpolygontools.cxx:2534:62
basegfx/source/polygon/b2dpolygontools.cxx:273:24
basegfx/source/polygon/b2dpolygontools.cxx:2773:16
basegfx/source/polygon/b2dpolygontools.cxx:858:36
basegfx/source/polygon/b2dpolypolygontools.cxx:236:16
basegfx/source/polygon/b2dpolypolygontools.cxx:330:20
basegfx/source/polygon/b2dpolypolygontools.cxx:381:16
basegfx/source/polygon/b2dpolypolygontools.cxx:581:25
basegfx/source/polygon/b2dsvgpolypolygon.cxx:474:33
basegfx/source/polygon/b2dsvgpolypolygon.cxx:474:49
basegfx/source/polygon/b2dsvgpolypolygon.cxx:477:33
basegfx/source/polygon/b2dsvgpolypolygon.cxx:477:47
basegfx/source/polygon/b2dsvgpolypolygon.cxx:860:52
basegfx/source/polygon/b2dsvgpolypolygon.cxx:861:52
basegfx/source/tools/gradienttools.cxx:179:36
basegfx/source/tools/gradienttools.cxx:256:36
basegfx/test/boxclipper.cxx:55:13
basic/source/classes/sbunoobj.cxx:1031:21
basic/source/runtime/methods1.cxx:2621:9
basic/source/sbx/sbxbool.cxx:87:33
basic/source/sbx/sbxdate.cxx:284:21
basic/source/sbx/sbxform.cxx:90:9
canvas/source/tools/verifyinput.cxx:631:17
canvas/source/tools/verifyinput.cxx:632:17
chart2/source/controller/chartapiwrapper/ChartDataWrapper.cxx:80:17
chart2/source/view/axes/VCartesianAxis.cxx:315:8
chart2/source/view/charttypes/Splines.cxx:426:13
chart2/source/view/charttypes/Splines.cxx:438:9
chart2/source/view/main/LabelPositionHelper.cxx:121:9
chart2/source/view/main/LabelPositionHelper.cxx:164:9
chart2/source/view/main/LabelPositionHelper.cxx:206:9
chart2/source/view/main/LabelPositionHelper.cxx:248:9
chart2/source/view/main/LabelPositionHelper.cxx:291:9
chart2/source/view/main/LabelPositionHelper.cxx:323:9
chart2/source/view/main/LabelPositionHelper.cxx:355:9
chart2/source/view/main/LabelPositionHelper.cxx:387:9
chart2/source/view/main/ShapeFactory.cxx:98:9
connectivity/source/drivers/calc/CTable.cxx:344:30
cppcanvas/source/mtfrenderer/mtftools.cxx:129:34
cppcanvas/source/mtfrenderer/mtftools.cxx:130:34
cppcanvas/source/mtfrenderer/mtftools.cxx:132:35
cppu/source/uno/eq.hxx:152:17
cppu/source/uno/eq.hxx:161:17
cppu/source/uno/eq.hxx:311:21
cppu/source/uno/eq.hxx:313:21
cppu/source/uno/eq.hxx:336:21
cppu/source/uno/eq.hxx:338:21
cppu/source/uno/eq.hxx:360:21
cppu/source/uno/eq.hxx:362:21
cppu/source/uno/eq.hxx:385:21
cppu/source/uno/eq.hxx:387:21
cppu/source/uno/eq.hxx:409:21
cppu/source/uno/eq.hxx:411:21
cppu/source/uno/eq.hxx:434:21
cppu/source/uno/eq.hxx:436:21
cppu/source/uno/eq.hxx:462:17
cppu/source/uno/eq.hxx:466:17
cppu/source/uno/eq.hxx:476:21
cppu/source/uno/eq.hxx:478:21
cppu/source/uno/eq.hxx:480:21
cppu/source/uno/eq.hxx:482:21
cppu/source/uno/eq.hxx:484:21
cppu/source/uno/eq.hxx:486:21
cppu/source/uno/eq.hxx:488:17
cppu/source/uno/eq.hxx:492:21
cppu/source/uno/eq.hxx:494:21
cppu/source/uno/eq.hxx:502:21
cppu/source/uno/eq.hxx:504:21
cppu/source/uno/eq.hxx:506:21
cppu/source/uno/eq.hxx:508:21
cppu/source/uno/eq.hxx:510:21
cppu/source/uno/eq.hxx:512:21
cppu/source/uno/eq.hxx:514:17
cppu/source/uno/eq.hxx:518:21
cppu/source/uno/eq.hxx:520:21
drawinglayer/source/primitive2d/metafileprimitive2d.cxx:2060:32
drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx:158:16
drawinglayer/source/primitive3d/sdrdecompositiontools3d.cxx:261:20
drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx:971:28
drawinglayer/source/primitive3d/sdrextrudelathetools3d.cxx:979:28
editeng/source/items/borderline.cxx:186:26
filter/source/msfilter/msdffimp.cxx:1169:26
filter/source/msfilter/msdffimp.cxx:1199:26
idlc/source/astexpression.cxx:510:34
idlc/source/astexpression.cxx:514:34
include/basegfx/tuple/b2dtuple.hxx:257:13
include/basegfx/tuple/b2dtuple.hxx:258:13
include/basegfx/tuple/b3dtuple.hxx:311:13
include/basegfx/tuple/b3dtuple.hxx:312:13
include/basegfx/tuple/b3dtuple.hxx:313:13
include/rtl/math.hxx:251:10
include/rtl/math.hxx:265:10
include/vcl/vclenum.hxx:99:12
include/vcl/vclenum.hxx:99:28
include/vcl/vclenum.hxx:99:44
include/vcl/vclenum.hxx:99:60
libreofficekit/source/gtk/lokdocview.cxx:2493:9
oox/source/vml/vmlformatting.cxx:127:58
opencl/source/opencl_device.cxx:178:9
registry/tools/regcompare.cxx:587:17
registry/tools/regcompare.cxx:599:17
sal/rtl/math.cxx:1003:31
sal/rtl/math.cxx:1025:26
sal/rtl/math.cxx:1025:9
sal/rtl/math.cxx:1086:10
sal/rtl/math.cxx:1117:15
sal/rtl/math.cxx:190:18
sal/rtl/math.cxx:219:32
sal/rtl/math.cxx:741:18
sal/rtl/math.cxx:768:18
sal/rtl/math.cxx:863:18
sal/rtl/math.cxx:910:10
sal/rtl/math.cxx:998:22
scaddins/source/analysis/analysishelper.cxx:1126:48
scaddins/source/analysis/analysishelper.cxx:1130:13
scaddins/source/analysis/analysishelper.cxx:1132:18
scaddins/source/analysis/analysishelper.cxx:1134:18
scaddins/source/analysis/analysishelper.cxx:1237:9
scaddins/source/analysis/analysishelper.cxx:1255:9
scaddins/source/analysis/analysishelper.cxx:625:14
scaddins/source/analysis/bessel.cxx:191:9
scaddins/source/analysis/bessel.cxx:349:13
scaddins/source/analysis/bessel.cxx:403:13
scaddins/source/analysis/bessel.cxx:63:9
scaddins/source/pricing/black_scholes.cxx:129:15
scaddins/source/pricing/black_scholes.cxx:225:15
scaddins/source/pricing/black_scholes.cxx:369:16
scaddins/source/pricing/black_scholes.cxx:869:8
sc/inc/math.hxx:32:13
sc/inc/math.hxx:52:9
sc/inc/math.hxx:55:49
sc/qa/unit/ucalc_formula.cxx:233:34
sc/source/core/data/colorscale.cxx:491:9
sc/source/core/data/table3.cxx:195:14
sc/source/core/tool/chartarr.cxx:117:33
sc/source/core/tool/compare.cxx:234:13
sc/source/core/tool/compare.cxx:313:9
sc/source/core/tool/compare.cxx:66:17
sc/source/core/tool/compare.cxx:86:17
sc/source/core/tool/interpr1.cxx:4159:13
sc/source/core/tool/interpr1.cxx:4184:21
sc/source/core/tool/interpr1.cxx:4188:21
sc/source/core/tool/interpr3.cxx:103:9
sc/source/core/tool/interpr3.cxx:105:9
sc/source/core/tool/interpr3.cxx:128:17
sc/source/core/tool/interpr3.cxx:128:29
sc/source/core/tool/interpr3.cxx:128:41
sc/source/core/tool/interpr3.cxx:556:23
sc/source/core/tool/interpr3.cxx:929:9
sc/source/core/tool/interpr3.cxx:958:13
sc/source/core/tool/interpr5.cxx:1985:13
sc/source/core/tool/interpr5.cxx:2020:13
sc/source/core/tool/interpr5.cxx:661:13
sc/source/core/tool/interpr5.cxx:686:13
sc/source/core/tool/interpr5.cxx:735:35
sc/source/core/tool/scmatrix.cxx:1405:20
sc/source/core/tool/scmatrix.cxx:1418:20
sc/source/core/tool/token.cxx:4497:41
sc/source/filter/oox/condformatbuffer.cxx:197:9
sc/source/ui/vba/vbawsfunction.cxx:47:13
sc/source/ui/vba/vbawsfunction.cxx:49:18
sc/source/ui/view/output2.cxx:487:9
sdext/source/pdfimport/misc/pdfihelper.cxx:57:13
sdext/source/pdfimport/tree/drawtreevisiting.cxx:667:9
sdext/source/pdfimport/tree/drawtreevisiting.cxx:668:9
sdext/source/pdfimport/tree/drawtreevisiting.cxx:669:9
sdext/source/pdfimport/tree/drawtreevisiting.cxx:670:9
slideshow/source/engine/color.cxx:72:25
slideshow/source/engine/color.cxx:74:30
slideshow/source/engine/color.cxx:76:30
stoc/source/typeconv/convert.cxx:98:9
svtools/source/control/ctrlbox.cxx:375:14
svx/source/customshapes/EnhancedCustomShapeFontWork.cxx:619:57
svx/source/dialog/framelink.cxx:1287:9
svx/source/dialog/framelink.cxx:1293:38
svx/source/dialog/framelink.cxx:374:73
svx/source/dialog/framelink.cxx:382:38
svx/source/dialog/framelink.cxx:389:17
svx/source/dialog/framelink.cxx:403:32
svx/source/dialog/framelink.cxx:460:32
svx/source/dialog/framelink.cxx:503:29
svx/source/sdr/primitive2d/sdrattributecreator.cxx:1001:20
svx/source/sdr/primitive2d/sdrattributecreator.cxx:1021:16
svx/source/sdr/primitive2d/sdrattributecreator.cxx:1025:20
svx/source/sdr/primitive2d/sdrattributecreator.cxx:291:20
svx/source/sdr/primitive2d/sdrattributecreator.cxx:314:20
svx/source/sdr/primitive2d/sdrattributecreator.cxx:997:16
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:118:16
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:175:16
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:204:44
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:223:25
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:224:25
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:349:20
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:435:24
svx/source/sdr/primitive2d/sdrdecompositiontools.cxx:503:20
svx/source/toolbars/extrusionbar.cxx:673:22
svx/source/toolbars/extrusionbar.cxx:675:27
svx/source/toolbars/extrusionbar.cxx:751:17
svx/source/toolbars/extrusionbar.cxx:755:22
svx/source/toolbars/extrusionbar.cxx:760:17
svx/source/toolbars/extrusionbar.cxx:959:22
sw/source/core/layout/paintfrm.cxx:548:14
sw/source/core/layout/paintfrm.cxx:549:14
sw/source/core/layout/paintfrm.cxx:550:14
sw/source/core/layout/paintfrm.cxx:561:17
sw/source/core/layout/paintfrm.cxx:563:24
sw/source/core/layout/paintfrm.cxx:572:17
sw/source/core/layout/paintfrm.cxx:574:24
sw/source/filter/html/htmlforw.cxx:1067:48
testtools/source/bridgetest/bridgetest.cxx:138:12
testtools/source/bridgetest/bridgetest.cxx:139:12
testtools/source/bridgetest/bridgetest.cxx:154:13
testtools/source/bridgetest/bridgetest.cxx:155:13
testtools/source/bridgetest/bridgetest.cxx:538:31
vbahelper/source/vbahelper/vbahelper.cxx:454:20
vbahelper/source/vbahelper/vbahelper.cxx:456:20
vcl/qa/cppunit/canvasbitmaptest.cxx:159:29
vcl/qa/cppunit/canvasbitmaptest.cxx:159:56
vcl/qa/cppunit/canvasbitmaptest.cxx:159:85
vcl/qa/cppunit/canvasbitmaptest.cxx:161:29
vcl/qa/cppunit/canvasbitmaptest.cxx:165:33
vcl/qa/cppunit/canvasbitmaptest.cxx:169:29
vcl/qa/cppunit/canvasbitmaptest.cxx:169:56
vcl/qa/cppunit/canvasbitmaptest.cxx:169:85
vcl/qa/cppunit/canvasbitmaptest.cxx:201:29
vcl/qa/cppunit/canvasbitmaptest.cxx:202:29
vcl/qa/cppunit/canvasbitmaptest.cxx:203:29
vcl/source/filter/sgvspln.cxx:501:9
vcl/source/filter/sgvspln.cxx:580:17
vcl/source/filter/sgvspln.cxx:581:17
vcl/source/gdi/pdfwriter_impl.cxx:881:9
xmloff/source/chart/SchXMLAxisContext.cxx:361:35
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx:1251:9
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx:1252:9
xmlscript/source/xmldlg_imexp/xmldlg_export.cxx:1256:9
Context
- floating point comparison plugin results · Noel Grandin
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.